Merge pull request #95682 from zeux/fsr2-fix-free
Fix double free in FSR2 destructor
This commit is contained in:
commit
9cc53a134e
1 changed files with 0 additions and 3 deletions
|
@ -800,9 +800,6 @@ FSR2Effect::~FSR2Effect() {
|
|||
RD::get_singleton()->free(device.linear_clamp_sampler);
|
||||
|
||||
for (uint32_t i = 0; i < FFX_FSR2_PASS_COUNT; i++) {
|
||||
if (device.passes[i].pipeline.pipeline_rid.is_valid()) {
|
||||
RD::get_singleton()->free(device.passes[i].pipeline.pipeline_rid);
|
||||
}
|
||||
device.passes[i].shader->version_free(device.passes[i].shader_version);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue