Fix FogMaterial memory leak

This commit is contained in:
bitsawer 2023-11-10 12:07:32 +02:00
parent 9df6491853
commit 0f66bc9ba6

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