From ff85d9ae8369c178ff19bcba101b508d25c4e47e Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Tue, 26 Dec 2023 10:03:57 +0000 Subject: [PATCH] Fix utility typo --- Raylib-cs/types/Raylib.Utils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)