summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_material_pbr.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2019-08-26 21:19:04 +0200
committerraysan5 <[email protected]>2019-08-26 21:19:04 +0200
commit37a6f120377e28d5499f130ff346848a3983bee8 (patch)
treee2b01adb9de0326c34c7776a5c742d1c3725c8dd /examples/models/models_material_pbr.c
parentaddbd88833ffc9a2bd1fe33a83e683245324abd0 (diff)
downloadraylib-37a6f120377e28d5499f130ff346848a3983bee8.tar.gz
raylib-37a6f120377e28d5499f130ff346848a3983bee8.zip
Unload model shaders and textures
They are not automatically unloaded when unloading the model!
Diffstat (limited to 'examples/models/models_material_pbr.c')
-rw-r--r--examples/models/models_material_pbr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/models/models_material_pbr.c b/examples/models/models_material_pbr.c
index 8d51eefd..fea30cf4 100644
--- a/examples/models/models_material_pbr.c
+++ b/examples/models/models_material_pbr.c
@@ -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
//--------------------------------------------------------------------------------------