diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs index ae8d03a..d3ce36d 100644 --- a/Raylib-cs/types/Raylib.Utils.cs +++ b/Raylib-cs/types/Raylib.Utils.cs @@ -419,7 +419,7 @@ public static unsafe partial class Raylib public static Image GenImageText(int width, int height, string text) { using var str1 = text.ToUtf8Buffer(); - return GenImageText(width, height, text); + return GenImageText(width, height, str1.AsPointer()); } /// Create an image from text (default font)