diff options
| author | raysan5 <[email protected]> | 2019-08-26 21:19:04 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2019-08-26 21:19:04 +0200 |
| commit | 37a6f120377e28d5499f130ff346848a3983bee8 (patch) | |
| tree | e2b01adb9de0326c34c7776a5c742d1c3725c8dd /examples/models/models_yaw_pitch_roll.c | |
| parent | addbd88833ffc9a2bd1fe33a83e683245324abd0 (diff) | |
| download | raylib-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_yaw_pitch_roll.c')
| -rw-r--r-- | examples/models/models_yaw_pitch_roll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/models/models_yaw_pitch_roll.c b/examples/models/models_yaw_pitch_roll.c index 72529d89..65273811 100644 --- a/examples/models/models_yaw_pitch_roll.c +++ b/examples/models/models_yaw_pitch_roll.c @@ -169,6 +169,7 @@ int main(void) //-------------------------------------------------------------------------------------- // Unload all loaded data + UnloadTexture(model.materials[0].maps[MAP_DIFFUSE].texture); UnloadModel(model); UnloadRenderTexture(framebuffer); |
