diff options
author | clayjohn <claynjohn@gmail.com> | 2019-10-13 09:31:00 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2019-10-13 09:31:00 -0700 |
commit | 62fb462165425f927a8961385219a534a500c39e (patch) | |
tree | bb2b08cbaea240eb297db6486b7a53540e399f66 /servers/visual | |
parent | 74ab8be57a8ff1c3dd84d397e32470ed7a77a96f (diff) |
Properly free sky and lightmap caches in multithreaded server
Diffstat (limited to 'servers/visual')
-rw-r--r-- | servers/visual/visual_server_wrap_mt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/visual_server_wrap_mt.cpp b/servers/visual/visual_server_wrap_mt.cpp index 79e4d8cbba..1f0217c0ce 100644 --- a/servers/visual/visual_server_wrap_mt.cpp +++ b/servers/visual/visual_server_wrap_mt.cpp @@ -137,6 +137,7 @@ void VisualServerWrapMT::finish() { } texture_free_cached_ids(); + sky_free_cached_ids(); shader_free_cached_ids(); material_free_cached_ids(); mesh_free_cached_ids(); @@ -148,6 +149,7 @@ void VisualServerWrapMT::finish() { spot_light_free_cached_ids(); reflection_probe_free_cached_ids(); gi_probe_free_cached_ids(); + lightmap_capture_free_cached_ids(); particles_free_cached_ids(); camera_free_cached_ids(); viewport_free_cached_ids(); |