From c661cad692f30cba08b1fac4437b08438128ffcc Mon Sep 17 00:00:00 2001 From: raysan5 Date: Tue, 27 Aug 2019 10:56:49 +0200 Subject: Review all RL_CALLOC() calls All data should be properly initialized by now --- examples/models/models_material_pbr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/models') diff --git a/examples/models/models_material_pbr.c b/examples/models/models_material_pbr.c index fea30cf4..0f896f21 100644 --- a/examples/models/models_material_pbr.c +++ b/examples/models/models_material_pbr.c @@ -100,8 +100,7 @@ int main(void) // De-Initialization //-------------------------------------------------------------------------------------- - // TODO: Unload materials and shaders - + UnloadMaterial(model.materials[0]); // Unload material: shader and textures UnloadModel(model); // Unload model CloseWindow(); // Close window and OpenGL context -- cgit v1.2.3