Destroy command pool
This commit is contained in:
parent
59a0a09bf9
commit
f03f454af4
1 changed files with 2 additions and 0 deletions
|
|
@ -141,6 +141,8 @@ public:
|
||||||
vkDestroyBuffer(device, indices.buffer, nullptr);
|
vkDestroyBuffer(device, indices.buffer, nullptr);
|
||||||
vkFreeMemory(device, indices.memory, nullptr);
|
vkFreeMemory(device, indices.memory, nullptr);
|
||||||
|
|
||||||
|
vkDestroyCommandPool(device, commandPool, nullptr);
|
||||||
|
|
||||||
for (uint32_t i = 0; i < MAX_CONCURRENT_FRAMES; i++)
|
for (uint32_t i = 0; i < MAX_CONCURRENT_FRAMES; i++)
|
||||||
{
|
{
|
||||||
vkDestroyFence(device, waitFences[i], nullptr);
|
vkDestroyFence(device, waitFences[i], nullptr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue