Destroy command pool

This commit is contained in:
Sascha Willems 2023-11-02 07:48:45 +01:00
parent 59a0a09bf9
commit f03f454af4

View file

@ -141,6 +141,8 @@ public:
vkDestroyBuffer(device, indices.buffer, nullptr);
vkFreeMemory(device, indices.memory, nullptr);
vkDestroyCommandPool(device, commandPool, nullptr);
for (uint32_t i = 0; i < MAX_CONCURRENT_FRAMES; i++)
{
vkDestroyFence(device, waitFences[i], nullptr);