proton: Add disablelibglesv2 compat config option.

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

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

3
proton
View File

@ -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"]