Properly free dof sets when resizing
This commit is contained in:
parent
c3c678c5b0
commit
b885feba2d
1 changed files with 1 additions and 0 deletions
|
@ -518,6 +518,7 @@ void Renderer::destroyRenderTarget(RenderTarget* target) {
|
|||
|
||||
delete[] target->commandBuffers;
|
||||
|
||||
vkFreeDescriptorSets(device_, descriptorPool_, target->numImages, target->dofSets);
|
||||
vkFreeDescriptorSets(device_, descriptorPool_, target->numImages, target->postSets);
|
||||
|
||||
for(uint32_t i = 0; i < target->numImages; i++) {
|
||||
|
|
Reference in a new issue