Merge pull request #44114 from Chaosus/sdf_free_rid

Frees CanvasShaderSDF reference (prevents warning at startup)
This commit is contained in:
Rémi Verschelde 2020-12-05 10:39:08 +01:00 committed by GitHub
commit eed484d054
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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