Major optimization for OpenGL mod and fix runtime libs env

This commit is contained in:
Castro-Fidel
2020-05-30 19:41:43 +03:00
parent 2121faf82e
commit 92b6f512c0
8 changed files with 55 additions and 22 deletions

View File

@ -289,10 +289,10 @@ class CompatData:
self.create_fonts_symlinks()
if "wined3d" in g_session.compat_config:
dxvkfiles = []
dxvkfiles = ["dxvk_config"]
wined3dfiles = ["d3d11", "d3d10", "d3d10core", "d3d10_1", "d3d9"]
else:
dxvkfiles = ["d3d11", "d3d10", "d3d10core", "d3d10_1", "d3d9"]
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
@ -362,9 +362,6 @@ class Session:
self.env.pop("WINEARCH", "")
self.env["GST_PLUGIN_SYSTEM_PATH_1_0"] = g_proton.lib64_dir + "gstreamer-1.0" + ":" + g_proton.lib_dir + "gstreamer-1.0"
self.env["WINE_GST_REGISTRY_DIR"] = g_compatdata.path("gstreamer-1.0/")
if "PATH" in os.environ:
self.env["PATH"] = g_proton.bin_dir + ":" + os.environ["PATH"]
else: