Frees CanvasShaderSDF reference (prevents warning at startup)

This commit is contained in:
Yuri Roubinsky 2020-12-05 11:27:44 +03:00
parent 14660ee399
commit 245d4af10c
1 changed files with 1 additions and 0 deletions

View File

@ -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);