Fix for command buffer flush (Fixes #176)
This commit is contained in:
parent
51e06ad7fa
commit
875f4a93ea
1 changed files with 1 additions and 4 deletions
|
|
@ -187,10 +187,7 @@ public:
|
|||
VK_CHECK_RESULT(vkQueueSubmit(queue, 1, &submitInfo, VK_NULL_HANDLE));
|
||||
VK_CHECK_RESULT(vkQueueWaitIdle(queue));
|
||||
|
||||
if (free)
|
||||
{
|
||||
vkFreeCommandBuffers(device, cmdPool, 1, &commandBuffer);
|
||||
}
|
||||
vkFreeCommandBuffers(device, cmdPool, 1, &commandBuffer);
|
||||
}
|
||||
|
||||
// Build separate command buffers for every framebuffer image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue