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

@ -911,15 +911,6 @@ public static unsafe partial class Raylib
}
}
/// <summary>Unload mesh from memory (RAM and/or VRAM)</summary>
public static void UnloadMesh(ref Mesh mesh)
{
fixed (Mesh* p = &mesh)
{
UnloadMesh(p);
}
}
/// <summary>Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)</summary>
public static void SetMaterialTexture(ref Material material, MaterialMapIndex mapType, Texture2D texture)
{