summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-12-05 10:39:08 +0100
committerGitHub <noreply@github.com>2020-12-05 10:39:08 +0100
commiteed484d054d56ead9954158683105d200700e6fb (patch)
treee1e363c39cfeff35008a9df35e251b7127de653f
parent14660ee3999dae512f23164d5ffc570e6a978642 (diff)
parent245d4af10cdac11d3851f62d35278d4399534c3e (diff)
Merge pull request #44114 from Chaosus/sdf_free_rid
Frees CanvasShaderSDF reference (prevents warning at startup)
-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);