proton: Add PROTON_NO_D3D10

This commit is contained in:
Ethan Lee 2018-12-18 18:49:36 -05:00 committed by Andrew Eikum
parent 4b9b8547e6
commit 3eb29f419e
2 changed files with 8 additions and 1 deletions

6
proton
View file

@ -219,6 +219,7 @@ if "wined3d11" in config_opts:
if not check_environment("PROTON_USE_WINED3D", "wined3d"):
check_environment("PROTON_USE_WINED3D11", "wined3d")
check_environment("PROTON_NO_D3D11", "nod3d11")
check_environment("PROTON_NO_D3D10", "nod3d10")
check_environment("PROTON_NO_ESYNC", "noesync")
check_environment("PROTON_FORCE_LARGE_ADDRESS_AWARE", "forcelgadd")
@ -416,6 +417,11 @@ if "nod3d11" in config_opts:
if "dxgi" in dlloverrides:
del dlloverrides["dxgi"]
if "nod3d10" in config_opts:
dlloverrides["d3d10_1"] = ""
dlloverrides["d3d10"] = ""
dlloverrides["dxgi"] = ""
s = ""
for dll in dlloverrides:
setting = dlloverrides[dll]