Skip to content

Commit

Permalink
dxvk: Don't automatically install d3dcompiler or d3dx9
Browse files Browse the repository at this point in the history
They are not direct dependencies of dxvk and their inclusion in the dxvk verbs have lead to confusion
  • Loading branch information
Blisto91 committed Dec 1, 2024
1 parent 639c8b3 commit d15a9f6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -7310,7 +7310,6 @@ helper_dxvk()

for _W_dll in ${_W_dll_overrides}; do
w_try mv "${W_TMP}/${_W_package_dir}/x32/${_W_dll}.dll" "${W_SYSTEM32_DLLS}/"
[ "${_W_dll}" = "d3d9" ] && _W_d3d9_support="1"
done

if test "${W_ARCH}" = "win64"; then
Expand All @@ -7320,13 +7319,8 @@ helper_dxvk()
fi
# shellcheck disable=SC2086
w_override_dlls native ${_W_dll_overrides}
if [ -n "${_W_d3d9_support}" ]; then
w_call d3dcompiler_43
w_call d3dx9
fi
w_call d3dcompiler_47

unset _W_d3d9_support _W_dll _W_dll_overrides _W_invalid_overrides _W_min_vulkan_version _W_min_wine_version \
unset _W_dll _W_dll_overrides _W_invalid_overrides _W_min_vulkan_version _W_min_wine_version \
_W_package_archive _W_package_dir _W_package_version \
_W_repository _W_supported_overrides
}
Expand Down

0 comments on commit d15a9f6

Please sign in to comment.