diff --git a/examples/models/models_decals.c b/examples/models/models_decals.c index 6e80283f2..2956d3c7a 100644 --- a/examples/models/models_decals.c +++ b/examples/models/models_decals.c @@ -108,7 +108,7 @@ int main(void) decalMaterial.maps[MATERIAL_MAP_DIFFUSE].color = RAYWHITE; bool showModel = true; - Model decalModels[MAX_DECALS] = { 0 }; + static Model decalModels[MAX_DECALS] = { 0 }; int decalCount = 0; SetTargetFPS(60); // Set our game to run at 60 frames-per-second