From 4a1fb14982dfb3bacc075c03ad8357ff28fdb4bf Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Tue, 9 Jun 2020 16:21:32 -0400 Subject: [PATCH] Don't force using the preview Windows MixedReality runtime. --- support/hololens/ServoApp/ServoControl/Servo.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/support/hololens/ServoApp/ServoControl/Servo.cpp b/support/hololens/ServoApp/ServoControl/Servo.cpp index a53ea2489f1..4b51c732984 100644 --- a/support/hololens/ServoApp/ServoControl/Servo.cpp +++ b/support/hololens/ServoApp/ServoControl/Servo.cpp @@ -129,8 +129,6 @@ Servo::Servo(hstring url, hstring args, GLsizei width, GLsizei height, EGLNativeWindowType eglNativeWindow, float dpi, ServoDelegate &aDelegate) : mWindowHeight(height), mWindowWidth(width), mDelegate(aDelegate) { - SetEnvironmentVariableA("PreviewRuntimeEnabled", "1"); - Windows::Storage::ApplicationDataContainer localSettings = Windows::Storage::ApplicationData::Current().LocalSettings(); if (!localSettings.Containers().HasKey(L"servoUserPrefs")) {