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>
This commit is contained in:
Daniel Adams 2024-07-19 20:24:40 -10:00 committed by GitHub
parent a29e5c8115
commit 9212ed203a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 56 additions and 6 deletions

View file

@ -49,6 +49,7 @@
"dom.webxr.glwindow.spherical": false,
"dom.webxr.hands.enabled": false,
"dom.webxr.layers.enabled": false,
"dom.webxr.openxr.enabled": false,
"dom.webxr.sessionavailable": false,
"dom.webxr.test": false,
"dom.webxr.unsafe-assume-user-intent": false,