mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-03-04 01:25:35 +03:00
proton: Disable hidenvgpu if nvapi is enabled.
Link: https://github.com/ValveSoftware/Proton/pull/6227
This commit is contained in:
parent
ddcb61f21f
commit
e927eb06d6
3
proton
3
proton
@ -1363,7 +1363,8 @@ class Session:
|
||||
if not "VKD3D_FEATURE_LEVEL" in self.env:
|
||||
self.env["VKD3D_FEATURE_LEVEL"] = "12_0"
|
||||
|
||||
if "hidenvgpu" in self.compat_config:
|
||||
# enablenvapi beats hidenvgpu
|
||||
if "hidenvgpu" in self.compat_config and "enablenvapi" not in self.compat_config:
|
||||
self.env["WINE_HIDE_NVIDIA_GPU"] = "1"
|
||||
|
||||
if "usenativexinput13" in self.compat_config:
|
||||
|
Loading…
x
Reference in New Issue
Block a user