2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00

Fix conflicts

This commit is contained in:
2023-08-07 20:01:43 +01:00
parent a2321024c7
commit 22c39c1d6a

View File

@@ -13,7 +13,7 @@ namespace Raylib_cs
public UTF8Buffer(string text)
{
_data = Marshal.StringToCoTaskMemUTF8(text);
_data = Marshal.StringToHGlobalAnsi(text);
}
public unsafe sbyte* AsPointer()
@@ -23,7 +23,7 @@ namespace Raylib_cs
public void Dispose()
{
Marshal.FreeCoTaskMem(_data);
Marshal.FreeHGlobal(_data);
}
}