Merge pull request #702 from iostrowsINTEL/deferred-fix

Deferred*: Fix incorrect command pool in deinitialization
This commit is contained in:
Sascha Willems 2020-06-24 20:35:04 +02:00 committed by GitHub
commit cbf50a9ef3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 6 deletions

View file

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

View file

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

View file

@ -219,8 +219,6 @@ public:
uniformBuffers.fsLights.destroy(); uniformBuffers.fsLights.destroy();
uniformBuffers.uboShadowGS.destroy(); uniformBuffers.uboShadowGS.destroy();
vkFreeCommandBuffers(device, cmdPool, 1, &commandBuffers.deferred);
// Textures // Textures
textures.model.colorMap.destroy(); textures.model.colorMap.destroy();
textures.model.normalMap.destroy(); textures.model.normalMap.destroy();