mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Append default prefs to UWP app args
This commit is contained in:
parent
7737610870
commit
aeac55af5e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue