1
0
mirror of https://github.com/ValveSoftware/Proton.git synced 2025-07-11 07:46:29 +03:00

proton: Add disablelibglesv2 compat config option.

Some games and launcher based on older CEF / Chromium versions require
this to render properly.

CW-Bug-Id: 
CW-Bug-Id: 
This commit is contained in:
Arkadiusz Hiler 2021-10-20 15:17:17 +03:00
parent c218238762
commit 3e4e8be82c

3
proton

@ -1051,6 +1051,9 @@ class Session:
if "usenativexinput13" in self.compat_config: if "usenativexinput13" in self.compat_config:
self.dlloverrides["xinput1_3"] = "n" self.dlloverrides["xinput1_3"] = "n"
if "disablelibglesv2" in self.compat_config:
self.dlloverrides["libglesv2"] = "d"
if "PROTON_CRASH_REPORT_DIR" in self.env: if "PROTON_CRASH_REPORT_DIR" in self.env:
self.env["WINE_CRASH_REPORT_DIR"] = self.env["PROTON_CRASH_REPORT_DIR"] self.env["WINE_CRASH_REPORT_DIR"] = self.env["PROTON_CRASH_REPORT_DIR"]