diff options
Diffstat (limited to 'scene/3d/fog_volume.cpp')
-rw-r--r-- | scene/3d/fog_volume.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/fog_volume.cpp b/scene/3d/fog_volume.cpp index 4606e70310..d9912c47b1 100644 --- a/scene/3d/fog_volume.cpp +++ b/scene/3d/fog_volume.cpp @@ -118,5 +118,6 @@ FogVolume::FogVolume() { } FogVolume::~FogVolume() { + ERR_FAIL_NULL(RenderingServer::get_singleton()); RS::get_singleton()->free(volume); } |