Removed duplicate destroy of instance in cleanup
This commit is contained in:
@@ -1651,8 +1651,6 @@ 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();
|
||||||
|
|||||||
Reference in New Issue
Block a user