Fix some issues with freeing resources

This commit is contained in:
Georg Hagen
2024-07-12 19:14:37 +02:00
parent ad93a28e31
commit 515b3a6c73
5 changed files with 5 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ namespace OpenVulkano
{
device.freeCommandBuffers(cmdPool, 1, &cmdBuffer);
device.destroyCommandPool(cmdPool);
cmdPool = nullptr;
}
};
}