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
1 changed files with 1 additions and 0 deletions

View File

@ -1220,6 +1220,7 @@ void unregister_scene_types() {
PhysicalSkyMaterial::cleanup_shader(); PhysicalSkyMaterial::cleanup_shader();
PanoramaSkyMaterial::cleanup_shader(); PanoramaSkyMaterial::cleanup_shader();
ProceduralSkyMaterial::cleanup_shader(); ProceduralSkyMaterial::cleanup_shader();
FogMaterial::cleanup_shader();
#endif // _3D_DISABLED #endif // _3D_DISABLED
ParticleProcessMaterial::finish_shaders(); ParticleProcessMaterial::finish_shaders();