Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[d3d9,d3d11] recreate swapchain on VK_SUBOPTIMAL_KHR #4252

Merged
merged 1 commit into from
Sep 11, 2024

Commits on Sep 11, 2024

  1. [d3d9,d3d11] 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.
    llyyr committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    e86a8c6 View commit details
    Browse the repository at this point in the history