mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Report openxr failure at app startup.
This commit is contained in:
parent
0540c4a284
commit
2a0700e78b
3 changed files with 26 additions and 10 deletions
|
@ -267,7 +267,8 @@ impl XRSystem {
|
|||
) {
|
||||
let session = match response {
|
||||
Ok(session) => session,
|
||||
Err(_) => {
|
||||
Err(e) => {
|
||||
warn!("Error requesting XR session: {:?}", e);
|
||||
if mode != XRSessionMode::Inline {
|
||||
self.pending_immersive_session.set(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue