mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-13 22:08:48 +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