Vulkan: Add device wait back to swapchain recreation.

This commit is contained in:
BearOso 2024-06-13 14:39:36 -05:00
parent 33e40a8f16
commit 5c78493f4e

View File

@ -81,6 +81,7 @@ bool Swapchain::recreate(int new_width, int new_height)
{
if (swapchain_object)
{
device.waitIdle();
wait_on_frames();
}