diff --git a/support/hololens/ServoApp/Package.appxmanifest b/support/hololens/ServoApp/Package.appxmanifest index 5ada19983d7..26091d47f0a 100644 --- a/support/hololens/ServoApp/Package.appxmanifest +++ b/support/hololens/ServoApp/Package.appxmanifest @@ -9,7 +9,7 @@ - + diff --git a/support/hololens/ServoApp/ServoControl/Servo.cpp b/support/hololens/ServoApp/ServoControl/Servo.cpp index 76753d0758f..5b59620bf05 100644 --- a/support/hololens/ServoApp/ServoControl/Servo.cpp +++ b/support/hololens/ServoApp/ServoControl/Servo.cpp @@ -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";