Deferred*: Fix incorrect command pool in deinitialization

This commit is contained in:
Igor Ostrowski 2020-04-28 19:30:58 +02:00
parent f5dbf162a7
commit f3a65f298d
3 changed files with 0 additions and 6 deletions

View file

@ -198,8 +198,6 @@ public:
uniformBuffers.vsFullScreen.destroy();
uniformBuffers.fsLights.destroy();
vkFreeCommandBuffers(device, cmdPool, 1, &offScreenCmdBuffer);
vkDestroyRenderPass(device, offScreenFrameBuf.renderPass, nullptr);
textures.model.colorMap.destroy();