Fix PW_DXGI_FOR_VKD3D

This commit is contained in:
Castro-Fidel 2020-06-02 19:59:39 +03:00
parent 7ce090034d
commit 60c64d48ac

@ -227,9 +227,9 @@ class CompatData:
#if the user asked for dxvk's dxgi (dxgi=n), then copy it into place #if the user asked for dxvk's dxgi (dxgi=n), then copy it into place
if "PW_DXGI_FOR_VKD3D" in os.environ and nonzero(os.environ["PW_DXGI_FOR_VKD3D"]): if "PW_DXGI_FOR_VKD3D" in os.environ and nonzero(os.environ["PW_DXGI_FOR_VKD3D"]):
dxvkfiles.append("dxgi") wined3dfiles.append("dxgi") #VKD3D
else: else:
wined3dfiles.append("dxgi") dxvkfiles.append("dxgi") #OPENGL and DXVK
for f in wined3dfiles: for f in wined3dfiles:
try_copy(g_proton.default_pfx_dir + "drive_c/windows/system32/" + f + ".dll", try_copy(g_proton.default_pfx_dir + "drive_c/windows/system32/" + f + ".dll",