Skip to content

Commit

Permalink
installer Linux default OGL2
Browse files Browse the repository at this point in the history
  • Loading branch information
Die4Ever committed Sep 11, 2023
1 parent 1f32bad commit 9a050ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DXRCore/DeusEx/Classes/DXRActorsBase.uc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
3 changes: 2 additions & 1 deletion installer/GUI/InstallerWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9a050ef

Please sign in to comment.