Skip to content

Commit

Permalink
Fix FogMaterial memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsawer committed Nov 10, 2023
1 parent 9df6491 commit 0f66bc9
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 0f66bc9

Please sign in to comment.