Unload model shaders and textures
They are not automatically unloaded when unloading the model!
This commit is contained in:
parent
addbd88833
commit
37a6f12037
6 changed files with 13 additions and 3 deletions
|
@ -98,6 +98,8 @@ int main(void)
|
|||
|
||||
// De-Initialization
|
||||
//--------------------------------------------------------------------------------------
|
||||
UnloadTexture(texture); // Unload texture
|
||||
|
||||
// Unload model animations data
|
||||
for (int i = 0; i < animsCount; i++) UnloadModelAnimation(anims[i]);
|
||||
RL_FREE(anims);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue