Browse Source

Corrected bug on UnloadModel()

pull/23/head
raysan5 9 years ago
parent
commit
bae1bf7b0a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/models.c

+ 2
- 2
src/models.c 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);
o">//rlDeleteTextures(model.texture.id);
o">//rlDeleteShader(model.shader.id);
}
// Link a texture to a model

Loading…
Cancel
Save