Watch
2
0
Fork
You've already forked raylib-cs
0

Fix utility typo

This commit is contained in:
Rgebee 2023-12-26 10:03:57 +00:00
commit ff85d9ae83

View file

@ -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());
}
/// <summary>Create an image from text (default font)</summary>