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

UnloadMesh needs a value, not a pointer

This commit is contained in:
JupiterRider 2024-05-21 17:19:29 +02:00
commit f1a4d4db7a
2 changed files with 1 additions and 10 deletions

View file

@ -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)]