proton: Set DXVK_ENABLE_NVAPI envvar when NvAPI is enabled
See: https://github.com/doitsujin/dxvk/pull/2544 Link: https://github.com/ValveSoftware/Proton/pull/5687
This commit is contained in:
parent
22a1828158
commit
aa33dd9cb8
1 changed files with 3 additions and 0 deletions
3
proton
3
proton
|
@ -1208,6 +1208,9 @@ class Session:
|
|||
if "nativevulkanloader" in self.compat_config:
|
||||
self.dlloverrides["vulkan-1"] = "n"
|
||||
|
||||
if "enablenvapi" in self.compat_config:
|
||||
self.env["DXVK_ENABLE_NVAPI"] = "1"
|
||||
|
||||
s = ""
|
||||
for dll in self.dlloverrides:
|
||||
setting = self.dlloverrides[dll]
|
||||
|
|
Loading…
Reference in a new issue