Removed duplicate destroy of instance in cleanup
This commit is contained in:
@@ -1650,9 +1650,7 @@ namespace vapp{
|
||||
|
||||
vkDestroySurfaceKHR(instance, surface, nullptr);
|
||||
vkDestroyInstance(instance, nullptr);
|
||||
|
||||
vkDestroyInstance(instance, nullptr);
|
||||
|
||||
|
||||
// GLFW
|
||||
glfwDestroyWindow(this->window);
|
||||
glfwTerminate();
|
||||
|
||||
Reference in New Issue
Block a user