Removed duplicate destroy of instance in cleanup

This commit is contained in:
Ano-sys
2025-04-08 17:18:23 +02:00
parent 9e325ed1c8
commit 01d558539d
+1 -3
View File
@@ -1650,9 +1650,7 @@ namespace vapp{
vkDestroySurfaceKHR(instance, surface, nullptr); vkDestroySurfaceKHR(instance, surface, nullptr);
vkDestroyInstance(instance, nullptr); vkDestroyInstance(instance, nullptr);
vkDestroyInstance(instance, nullptr);
// GLFW // GLFW
glfwDestroyWindow(this->window); glfwDestroyWindow(this->window);
glfwTerminate(); glfwTerminate();