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

vulkan: Fix present mode fallback override #1422

Merged
merged 1 commit into from
Sep 9, 2024

Commits on Sep 9, 2024

  1. vulkan: Fix present mode fallback override

    In overlay_CreateSwapchainKHR, if IsPresentModeSupported returns false (which it will when FIFO_RELAXED is not supported) it sets  HUDElements.cur_present_mode to VK_PRESENT_MODE_FIFO_KHR but it does not update createInfo.presentMode. This can cause swapchain creation to fail since it's trying to use an unsupported present mode.
    
    This updates the createInfo's presentMode as well to prevent this.
    amshafer authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    fe08c55 View commit details
    Browse the repository at this point in the history