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

steam_helper: clean up OpenVR before getting OpenXR extensions in initialize_vr_data #8126

Open
wants to merge 1 commit into
base: proton_9.0
Choose a base branch
from

Commits on Sep 29, 2024

  1. steam_helper: clean up OpenVR before getting OpenXR extensions in `in…

    …itialize_vr_data`
    
    When using OpenComposite, both OpenVR and OpenXR functions may
    call the same underlying OpenXR loader.
    
    Because the OpenXR loader only supports a single active instance,
    `initialize_vr_data` currently fails as an OpenXR instance
    has already been initialized ath the time XR extensions are queried.
    
    This commit fixes the problem by cleaning up the temporary
    OpenVR context *before* initializing OpenXR instead of keeping it
    open until the end of the call.
    
    Fix for:
    ValveSoftware#7905
    emily-is-my-username committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    96bd85c View commit details
    Browse the repository at this point in the history