Enable webxr for the UWP port.

This commit is contained in:
Josh Matthews 2019-08-15 17:55:48 -04:00 committed by GitHub
parent 91469aa472
commit a94d4b267a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ Servo::Servo(GLsizei width, GLsizei height, ServoDelegate &aDelegate)
: mWindowHeight(height), mWindowWidth(width), mDelegate(aDelegate) {
capi::CInitOptions o;
o.args = NULL;
o.args = "--pref dom.webxr.enabled";
o.url = "https://servo.org";
o.width = mWindowWidth;
o.height = mWindowHeight;