Bump webxr

This commit is contained in:
Manish Goregaokar 2019-12-05 13:08:03 -08:00
parent 6cf618ae9f
commit d681909b28
2 changed files with 3 additions and 2 deletions

4
Cargo.lock generated
View file

@ -6391,7 +6391,7 @@ dependencies = [
[[package]] [[package]]
name = "webxr" name = "webxr"
version = "0.0.1" version = "0.0.1"
source = "git+https://github.com/servo/webxr#e44552df536a6f424d58ccd068aa0301fee5fa1e" source = "git+https://github.com/servo/webxr#29f4f1f28695553c45d6c020172048c0035c49ed"
dependencies = [ dependencies = [
"bindgen", "bindgen",
"euclid", "euclid",
@ -6411,7 +6411,7 @@ dependencies = [
[[package]] [[package]]
name = "webxr-api" name = "webxr-api"
version = "0.0.1" version = "0.0.1"
source = "git+https://github.com/servo/webxr#e44552df536a6f424d58ccd068aa0301fee5fa1e" source = "git+https://github.com/servo/webxr#29f4f1f28695553c45d6c020172048c0035c49ed"
dependencies = [ dependencies = [
"euclid", "euclid",
"ipc-channel", "ipc-channel",

View file

@ -42,6 +42,7 @@ impl XRViewerPose {
) -> DomRoot<XRViewerPose> { ) -> DomRoot<XRViewerPose> {
rooted_vec!(let mut views); rooted_vec!(let mut views);
session.with_session(|s| match s.views() { session.with_session(|s| match s.views() {
Views::Inline => unimplemented!(),
Views::Mono(view) => { Views::Mono(view) => {
views.push(XRView::new(global, session, &view, XREye::None, &pose)) views.push(XRView::new(global, session, &view, XREye::None, &pose))
}, },