mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-27 09:07:25 -04:00
Unload model shaders and textures
They are not automatically unloaded when unloading the model!
This commit is contained in:
@ -169,6 +169,7 @@ int main(void)
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
||||
// Unload all loaded data
|
||||
UnloadTexture(model.materials[0].maps[MAP_DIFFUSE].texture);
|
||||
UnloadModel(model);
|
||||
|
||||
UnloadRenderTexture(framebuffer);
|
||||
|
||||
Reference in New Issue
Block a user