Support WebXR devices with main thread affinity

This commit is contained in:
Alan Jeffrey 2019-07-05 08:46:11 -05:00
parent 683bd0d881
commit e9d410d0ab
5 changed files with 20 additions and 8 deletions

View file

@ -178,7 +178,7 @@ pub trait EmbedderMethods {
}
/// Register services with a WebXR Registry.
fn register_webxr(&mut self, _: &mut webxr_api::Registry) {}
fn register_webxr(&mut self, _: &mut webxr_api::MainThreadRegistry) {}
}
#[derive(Clone, Copy, Debug)]