Depend on the preview OpenXR runtime for performance fixes.

This commit is contained in:
Josh Matthews 2020-04-15 18:06:58 -04:00
parent eb9e794729
commit 5fcb3c84d4
2 changed files with 2 additions and 1 deletions

View file

@ -109,6 +109,7 @@ const char *prompt_input(const char *message, const char *default,
Servo::Servo(hstring url, hstring args, GLsizei width, GLsizei height,
float dpi, ServoDelegate &aDelegate)
: mWindowHeight(height), mWindowWidth(width), mDelegate(aDelegate) {
SetEnvironmentVariableA("PreviewRuntimeEnabled", "1");
capi::CInitOptions o;
hstring defaultPrefs = L" --pref dom.webxr.enabled --devtools";