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
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue