Skip to content
Permalink
Browse files

Run webvr thread when webxr is enabled

  • Loading branch information...
Manishearth committed May 30, 2019
1 parent 97df39f commit 366aa78e55fef850390ac143aba9032fe8f04f73
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/servo/lib.rs
@@ -285,7 +285,7 @@ where
script::init();

let mut webvr_heartbeats = Vec::new();
let webvr_services = if pref!(dom.webvr.enabled) {
let webvr_services = if pref!(dom.webvr.enabled) || pref!(dom.webxr.enabled) {
let mut services = VRServiceManager::new();
services.register_defaults();
embedder.register_vr_services(&mut services, &mut webvr_heartbeats);

0 comments on commit 366aa78

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