summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-12-05 11:27:44 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-12-05 11:28:44 +0300
commit245d4af10cdac11d3851f62d35278d4399534c3e (patch)
treee1e363c39cfeff35008a9df35e251b7127de653f /servers/rendering/renderer_rd
parent14660ee3999dae512f23164d5ffc570e6a978642 (diff)
Frees CanvasShaderSDF reference (prevents warning at startup)
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r--servers/rendering/renderer_rd/renderer_storage_rd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/renderer_rd/renderer_storage_rd.cpp b/servers/rendering/renderer_rd/renderer_storage_rd.cpp
index b28fe97856..5a4db44b97 100644
--- a/servers/rendering/renderer_rd/renderer_storage_rd.cpp
+++ b/servers/rendering/renderer_rd/renderer_storage_rd.cpp
@@ -8544,6 +8544,7 @@ RendererStorageRD::~RendererStorageRD() {
giprobe_sdf_shader.version_free(giprobe_sdf_shader_version);
particles_shader.copy_shader.version_free(particles_shader.copy_shader_version);
+ rt_sdf.shader.version_free(rt_sdf.shader_version);
RenderingServer::get_singleton()->free(particles_shader.default_material);
RenderingServer::get_singleton()->free(particles_shader.default_shader);