Corrected bug on UnloadModel()
This commit is contained in:
parent
024e48850e
commit
bae1bf7b0a
@ -1105,8 +1105,8 @@ void UnloadModel(Model model)
|
||||
rlDeleteBuffers(model.mesh.vboId[2]);
|
||||
|
||||
rlDeleteVertexArrays(model.mesh.vaoId);
|
||||
rlDeleteTextures(model.texture.id);
|
||||
rlDeleteShader(model.shader.id);
|
||||
//rlDeleteTextures(model.texture.id);
|
||||
//rlDeleteShader(model.shader.id);
|
||||
}
|
||||
|
||||
// Link a texture to a model
|
||||
|
Loading…
Reference in New Issue
Block a user