REVIEWED: rlUnloadMesh() #1615
This commit is contained in:
parent
742206c1f2
commit
2ff5fa73e9
2 changed files with 7 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue