2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

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
parent 47877ee2e7
commit 502a583e07
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)]