Merge pull request #84702 from bitsawer/fix_fog_material_leak

Fix FogMaterial memory leak
This commit is contained in:
Rémi Verschelde 2023-11-10 11:34:50 +01:00
commit 2b987d1c54
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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();