diff options
author | Daniel Adams <70986246+msub2@users.noreply.github.com> | 2024-07-19 20:24:40 -1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-20 06:24:40 +0000 |
commit | 9212ed203a7dcec88008fca47bce0bff3fe2649b (patch) | |
tree | ac690e0d451453e6af958e4ced5f00173cf633e6 /components/config/prefs.rs | |
parent | a29e5c8115bc9b2a07467a44518a0a617e056208 (diff) | |
download | servo-9212ed203a7dcec88008fca47bce0bff3fe2649b.tar.gz servo-9212ed203a7dcec88008fca47bce0bff3fe2649b.zip |
Enable OpenXR backend from the WebXR crate (#32817)
* Enable OpenXR backend from the WebXR crate
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Ensure openxr feature is only included on windows
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Add cfgs for OpenXR usages
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
Diffstat (limited to 'components/config/prefs.rs')
-rw-r--r-- | components/config/prefs.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/config/prefs.rs b/components/config/prefs.rs index 0780dcd9536..84e304bdd2e 100644 --- a/components/config/prefs.rs +++ b/components/config/prefs.rs @@ -400,6 +400,9 @@ mod gen { layers: { enabled: bool, }, + openxr: { + enabled: bool, + }, sessionavailable: bool, #[serde(rename = "dom.webxr.unsafe-assume-user-intent")] unsafe_assume_user_intent: bool, |