Feee copy command buffer (Fixes #135)
This commit is contained in:
parent
6d54900c4d
commit
eb428db92d
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ public:
|
|||
vkTools::checkResult(vkQueueSubmit(queue, 1, ©SubmitInfo, VK_NULL_HANDLE));
|
||||
vkTools::checkResult(vkQueueWaitIdle(queue));
|
||||
|
||||
// todo : sync necessary (fence, semaphore?)
|
||||
vkFreeCommandBuffers(device, cmdPool, 1, ©CommandBuffer);
|
||||
|
||||
// Destroy staging buffers
|
||||
vkDestroyBuffer(device, stagingBuffers.vertices.buffer, nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue