summaryrefslogtreecommitdiffstats
path: root/scene/register_scene_types.cpp
diff options
context:
space:
mode:
authorbitsawer <sawerduster@gmail.com>2023-11-10 12:07:32 +0200
committerbitsawer <sawerduster@gmail.com>2023-11-10 12:13:52 +0200
commit0f66bc9ba6efebebfde1192ef4b6924b699bb006 (patch)
treecbb24192072fced77593acf4496d03596a73c3e1 /scene/register_scene_types.cpp
parent9df6491853b7b043afba3c6d56f4c5b21ac7fd7c (diff)
downloadredot-engine-0f66bc9ba6efebebfde1192ef4b6924b699bb006.tar.gz
Fix FogMaterial memory leak
Diffstat (limited to 'scene/register_scene_types.cpp')
-rw-r--r--scene/register_scene_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp
index b7c98b0ea9..3727c788fd 100644
--- a/scene/register_scene_types.cpp
+++ b/scene/register_scene_types.cpp
@@ -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();