UnloadMesh needs a value, not a pointer (#243)
This commit is contained in:
parent
47877ee2e7
commit
502a583e07
2 changed files with 1 additions and 10 deletions
|
|
@ -2350,7 +2350,7 @@ public static unsafe partial class Raylib
|
|||
|
||||
/// <summary>Unload mesh from memory (RAM and/or VRAM)</summary>
|
||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void UnloadMesh(Mesh* mesh);
|
||||
public static extern void UnloadMesh(Mesh mesh);
|
||||
|
||||
/// <summary>Draw a 3d mesh with material and transform</summary>
|
||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue