Report openxr failure at app startup.

This commit is contained in:
Josh Matthews 2020-04-24 10:06:30 -04:00
parent 0540c4a284
commit 2a0700e78b
3 changed files with 26 additions and 10 deletions

View file

@ -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);
}