Skip to content

Commit

Permalink
Merge pull request #84702 from bitsawer/fix_fog_material_leak
Browse files Browse the repository at this point in the history
Fix FogMaterial memory leak
  • Loading branch information
akien-mga committed Nov 10, 2023
2 parents 7f49389 + 0f66bc9 commit 2b987d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/register_scene_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,7 @@ void unregister_scene_types() {
PhysicalSkyMaterial::cleanup_shader();
PanoramaSkyMaterial::cleanup_shader();
ProceduralSkyMaterial::cleanup_shader();
FogMaterial::cleanup_shader();
#endif // _3D_DISABLED

ParticleProcessMaterial::finish_shaders();
Expand Down

0 comments on commit 2b987d1

Please sign in to comment.