Skip to content
Permalink
Browse files

Kick the raf loop in inline sessions

  • Loading branch information
Manishearth committed Jan 2, 2020
1 parent 01f27e9 commit 666ee5ceffe6d1d1c2b28392f92e987b8469abe1
Showing with 2 additions and 0 deletions.
  1. +2 −0 components/script/dom/xrsession.rs
@@ -348,6 +348,8 @@ impl XRSession {
if self.is_immersive() {
base_layer.swap_buffers();
self.session.borrow_mut().render_animation_frame();
} else {
self.session.borrow_mut().start_render_loop();
}

// If the canvas element is attached to the DOM, it is now dirty,

0 comments on commit 666ee5c

Please sign in to comment.
You can’t perform that action at this time.