Ralith / openxrs

OpenXR bindings for Rust
Apache License 2.0
282 stars 59 forks source link

should we support dynamic openxr runtime loading with windows registry #103

Closed kcking closed 2 years ago

kcking commented 2 years ago

The registry key HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1 ActiveRuntime can be set to indicate the default openxr runtime on windows. It seems like openxr-sys would be the place to implement that behavior -- perhaps enabled with a feature?

I wanted to float this here before actually implementing it.

Ralith commented 2 years ago

That behavior is implemented in the OpenXR loader, which is what this crate binds to.

kcking commented 2 years ago

Ah thanks I see that now :)