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

@@ -45,6 +45,7 @@ namespace OpenVulkano::Vulkan
swapChainRenderPass.Close();
swapChain.Close();
device = nullptr;
deviceManager.Close();
vkDestroySurfaceKHR(static_cast<VkInstance>(instance), surface, nullptr);
//TODO