Skip to content

Commit

Permalink
Append default prefs to UWP app args
Browse files Browse the repository at this point in the history
  • Loading branch information
ferjm committed Oct 24, 2019
1 parent 7737610 commit aeac55a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion support/hololens/ServoApp/ServoControl/Servo.cpp
Expand Up @@ -61,7 +61,8 @@ Servo::Servo(hstring url, hstring args, GLsizei width, GLsizei height, float dpi
: mWindowHeight(height), mWindowWidth(width), mDelegate(aDelegate) {

capi::CInitOptions o;
o.args = *hstring2char(args);
hstring defaultPrefs = L" --pref dom.webxr.enabled";
o.args = *hstring2char(args + defaultPrefs);
o.url = *hstring2char(url);
o.width = mWindowWidth;
o.height = mWindowHeight;
Expand Down

0 comments on commit aeac55a

Please sign in to comment.