diff --git a/vulkan/vulkan_swapchain.cpp b/vulkan/vulkan_swapchain.cpp index 424811f4..39301a65 100644 --- a/vulkan/vulkan_swapchain.cpp +++ b/vulkan/vulkan_swapchain.cpp @@ -81,6 +81,7 @@ bool Swapchain::recreate(int new_width, int new_height) { if (swapchain_object) { + device.waitIdle(); wait_on_frames(); }