diff --git a/src/models.c b/src/models.c index de3f6da0..8d772f02 100644 --- a/src/models.c +++ b/src/models.c @@ -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