Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
d3d{9,11}_swapchain: recreate swapchain on VK_SUBOPTIMAL_KHR
The vulkan wayland wsi returns suboptimal when the window is fullscreened and not directly scanned out, and there are modifiers available that would allow the window to be directly scanned out. Recreate the swapchain if we receive suboptimal result. This allows us recreate the swapchain to use a modifier that allows direct scan-out under winewayland on wayland compositors.
- Loading branch information