From 245d4af10cdac11d3851f62d35278d4399534c3e Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Sat, 5 Dec 2020 11:27:44 +0300 Subject: Frees CanvasShaderSDF reference (prevents warning at startup) --- servers/rendering/renderer_rd/renderer_storage_rd.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3