diff --git a/proton b/proton index e0b31fed..a399f565 100755 --- a/proton +++ b/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: