mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-28 11:13:49 +02:00
Disable VR Overlay GPU Acceleration
This commit is contained in:
@@ -22,6 +22,7 @@ namespace VRCX
|
||||
public static string Version { get; private set; }
|
||||
public static bool LaunchDebug;
|
||||
private static readonly NLog.Logger logger = NLog.LogManager.GetLogger("VRCX");
|
||||
public static VRCXVRInterface VRCXVRInstance { get; private set; }
|
||||
|
||||
private static void SetProgramDirectories()
|
||||
{
|
||||
@@ -187,14 +188,19 @@ namespace VRCX
|
||||
WebApi.Instance.Init();
|
||||
LogWatcher.Instance.Init();
|
||||
AutoAppLaunchManager.Instance.Init();
|
||||
|
||||
CefService.Instance.Init();
|
||||
IPCServer.Instance.Init();
|
||||
VRCXVR.Instance.Init();
|
||||
|
||||
if (VRCXStorage.Instance.Get("VRCX_DisableVrOverlayGpuAcceleration") == "true")
|
||||
VRCXVRInstance = new VRCXVRLegacy();
|
||||
else
|
||||
VRCXVRInstance = new VRCXVR();
|
||||
VRCXVRInstance.Init();
|
||||
|
||||
Application.Run(new MainForm());
|
||||
logger.Info("{0} Exiting...", Version);
|
||||
WebApi.Instance.SaveCookies();
|
||||
VRCXVR.Instance.Exit();
|
||||
VRCXVRInstance.Exit();
|
||||
CefService.Instance.Exit();
|
||||
|
||||
AutoAppLaunchManager.Instance.Exit();
|
||||
|
||||
Reference in New Issue
Block a user