Fix utility typo
This commit is contained in:
parent
47956acdd4
commit
ff85d9ae83
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue