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

UnloadMesh needs a value, not a pointer (#243)

This commit is contained in:
JupiterRider 2024-05-21 20:06:11 +02:00 committed by GitHub
commit 502a583e07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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)]