mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-18 17:28:15 +00:00
REVIEWED: rlUnloadMesh() #1615
This commit is contained in:
@@ -859,7 +859,7 @@ void UploadMesh(Mesh *mesh)
|
||||
void UnloadMesh(Mesh mesh)
|
||||
{
|
||||
// Unload rlgl mesh vboId data
|
||||
rlUnloadMesh(mesh);
|
||||
rlUnloadMesh(&mesh);
|
||||
|
||||
RL_FREE(mesh.vertices);
|
||||
RL_FREE(mesh.texcoords);
|
||||
|
Reference in New Issue
Block a user