mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
Free a SortShader and a ParticlesCopyShader
This commit is contained in:
parent
bf37ab52b3
commit
1d3aec4230
@ -1758,6 +1758,7 @@ RasterizerEffectsRD::~RasterizerEffectsRD() {
|
||||
resolve.shader.version_free(resolve.shader_version);
|
||||
roughness.shader.version_free(roughness.shader_version);
|
||||
roughness_limiter.shader.version_free(roughness_limiter.shader_version);
|
||||
sort.shader.version_free(sort.shader_version);
|
||||
specular_merge.shader.version_free(specular_merge.shader_version);
|
||||
ssao.blur_shader.version_free(ssao.blur_shader_version);
|
||||
ssao.gather_shader.version_free(ssao.gather_shader_version);
|
||||
|
@ -7884,7 +7884,9 @@ RasterizerStorageRD::~RasterizerStorageRD() {
|
||||
for (int i = 0; i < DEFAULT_RD_BUFFER_MAX; i++) {
|
||||
RD::get_singleton()->free(mesh_default_rd_buffers[i]);
|
||||
}
|
||||
|
||||
giprobe_sdf_shader.version_free(giprobe_sdf_shader_version);
|
||||
particles_shader.copy_shader.version_free(particles_shader.copy_shader_version);
|
||||
|
||||
RD::get_singleton()->free(default_rd_storage_buffer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user