Fix conflicts
This commit is contained in:
parent
a2321024c7
commit
22c39c1d6a
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue