Merge pull request #37841 from qarmin/leak_copy_shader
Fixes leak with CopyToFbShaderRD
This commit is contained in:
commit
e2b01a7cc6
1 changed files with 2 additions and 1 deletions
|
@ -1546,8 +1546,9 @@ RasterizerEffectsRD::~RasterizerEffectsRD() {
|
||||||
RD::get_singleton()->free(index_buffer); //array gets freed as dependency
|
RD::get_singleton()->free(index_buffer); //array gets freed as dependency
|
||||||
RD::get_singleton()->free(filter.coefficient_buffer);
|
RD::get_singleton()->free(filter.coefficient_buffer);
|
||||||
|
|
||||||
copy.shader.version_free(copy.shader_version);
|
|
||||||
bokeh.shader.version_free(bokeh.shader_version);
|
bokeh.shader.version_free(bokeh.shader_version);
|
||||||
|
copy.shader.version_free(copy.shader_version);
|
||||||
|
copy_to_fb.shader.version_free(copy_to_fb.shader_version);
|
||||||
cube_to_dp.shader.version_free(cube_to_dp.shader_version);
|
cube_to_dp.shader.version_free(cube_to_dp.shader_version);
|
||||||
cubemap_downsampler.shader.version_free(cubemap_downsampler.shader_version);
|
cubemap_downsampler.shader.version_free(cubemap_downsampler.shader_version);
|
||||||
filter.shader.version_free(filter.shader_version);
|
filter.shader.version_free(filter.shader_version);
|
||||||
|
|
Loading…
Reference in a new issue