Corrected bug on UnloadModel()

This commit is contained in:
raysan5 2015-06-18 03:08:21 +02:00
parent 024e48850e
commit bae1bf7b0a

View File

@ -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