mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-03 09:14:23 +00:00
Unload model shaders and textures
They are not automatically unloaded when unloading the model!
This commit is contained in:
@@ -100,7 +100,9 @@ int main(void)
|
||||
|
||||
// De-Initialization
|
||||
//--------------------------------------------------------------------------------------
|
||||
UnloadModel(model); // Unload skybox model
|
||||
// TODO: Unload materials and shaders
|
||||
|
||||
UnloadModel(model); // Unload model
|
||||
|
||||
CloseWindow(); // Close window and OpenGL context
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user