From 9a050ef7b89ef0a03969b120bc34a2649141fe3e Mon Sep 17 00:00:00 2001 From: Die4Ever Date: Mon, 11 Sep 2023 02:17:35 -0500 Subject: [PATCH] installer Linux default OGL2 --- DXRCore/DeusEx/Classes/DXRActorsBase.uc | 2 +- installer/GUI/InstallerWindow.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DXRCore/DeusEx/Classes/DXRActorsBase.uc b/DXRCore/DeusEx/Classes/DXRActorsBase.uc index f37b08dbd..2356faab9 100644 --- a/DXRCore/DeusEx/Classes/DXRActorsBase.uc +++ b/DXRCore/DeusEx/Classes/DXRActorsBase.uc @@ -1374,7 +1374,7 @@ function DebugMarkKeyPosition(vector pos, coerce string id) local ActorDisplayWindow actorDisplay; local Actor a; if( ! #defined(debug)) { - err("Don't call DebugMarkKeyActor without debug mode! Add debug to the compiler_settings.default.json file"); + err("Don't call DebugMarkKeyPosition without debug mode! Add debug to the compiler_settings.default.json file"); return; } diff --git a/installer/GUI/InstallerWindow.py b/installer/GUI/InstallerWindow.py index 6b3fab87e..d1cbd1b49 100644 --- a/installer/GUI/InstallerWindow.py +++ b/installer/GUI/InstallerWindow.py @@ -75,7 +75,8 @@ def initWindow(self): else: self.dxvkval = DummyCheckbox() - self.ogl2val = BooleanVar(master=self.frame, value=dxvk_default) + useOgl2 = dxvk_default or not IsWindows() + self.ogl2val = BooleanVar(master=self.frame, value=useOgl2) self.ogl2 = Checkbutton(self.frame, text="Updated OpenGL 2.0 Renderer", variable=self.ogl2val) Hovertip(self.ogl2, "Updated OpenGL Renderer for modern systems. An alternative to using D3D10 or D3D9.") self.ogl2.grid(column=1,row=row, sticky='SW', padx=pad, pady=pad)