Skip to content

Commit

Permalink
proton: Set DXVK_ENABLE_NVAPI envvar when NvAPI is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-middlebrook authored and aeikum committed Mar 17, 2022
1 parent 864c2a0 commit b49187a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proton
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,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]
Expand Down

0 comments on commit b49187a

Please sign in to comment.