Merge pull request #84702 from bitsawer/fix_fog_material_leak
Fix FogMaterial memory leak
This commit is contained in:
commit
2b987d1c54
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue