From 353e1b00c69ed28a3d185433f45996845bf3a9b1 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Wed, 2 Jun 2021 09:18:43 -0500 Subject: [PATCH] proton: Use DXVK's DXGI by default --- proton | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proton b/proton index 2d26a429..884c1062 100755 --- a/proton +++ b/proton @@ -483,7 +483,8 @@ class CompatData: steamdir = os.environ["STEAM_COMPAT_CLIENT_INSTALL_PATH"] use_wined3d = "wined3d" in g_session.compat_config - use_dxvk_dxgi = "WINEDLLOVERRIDES" in g_session.env and "dxgi=n" in g_session.env["WINEDLLOVERRIDES"] + use_dxvk_dxgi = not use_wined3d and \ + not ("WINEDLLOVERRIDES" in g_session.env and "dxgi=b" in g_session.env["WINEDLLOVERRIDES"]) builtin_dll_copy = os.environ.get("PROTON_DLL_COPY", #dxsetup redist @@ -603,7 +604,6 @@ class CompatData: dxvkfiles = ["dxvk_config", "d3d11", "d3d10", "d3d10core", "d3d10_1", "d3d9"] wined3dfiles = [] - #if the user asked for dxvk's dxgi (dxgi=n), then copy it into place if use_dxvk_dxgi: dxvkfiles.append("dxgi") else: