Hook supportsSession() into new xr crate

This commit is contained in:
Manish Goregaokar 2019-07-05 14:01:36 -07:00
parent b7eacebd10
commit fb105d9ff2
4 changed files with 64 additions and 8 deletions

View file

@ -439,8 +439,8 @@ impl Window {
self.webvr_chan.clone()
}
pub fn webxr_registry(&self) -> &webxr_api::Registry {
&self.webxr_registry
pub fn webxr_registry(&self) -> webxr_api::Registry {
self.webxr_registry.clone()
}
fn new_paint_worklet(&self) -> DomRoot<Worklet> {