shadPS4
shadPS4 copied to clipboard
renderer_vulkan: fix deadlock when resizing the SDL window
Commit 400da1aa8da376d38b3c4a086bc7f656f590de2e add ability to handle recreation of the swapchain which fix black screen under XWayland. Unfortunately, that commit doesn't account for rapid swapchain recreation caused by resizing window.
This commit aim to solve that issue by skipping frames to recreate the swapchain and delay resetting the frame's present done fence until after we know for sure we will be submitting work with it.