From 1bebcb514e1ec63a35329795d5c05538565fc26d Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Fri, 27 Feb 2026 13:03:59 +0100 Subject: [PATCH] Disable D3D12 on Windows Godot builds instead of installing SDK --- spine-godot/build/build-templates-v4.sh | 5 ++--- spine-godot/build/build-v4.sh | 5 +---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/spine-godot/build/build-templates-v4.sh b/spine-godot/build/build-templates-v4.sh index e119e37f2..a5af7ac4b 100755 --- a/spine-godot/build/build-templates-v4.sh +++ b/spine-godot/build/build-templates-v4.sh @@ -64,9 +64,8 @@ pushd ../godot if [ "$platform" = "windows" ]; then # --- Windows --- #generates windows_64_debug.exe and windows_64_release.exe - python misc/scripts/install_d3d12_sdk_windows.py - scons platform=windows tools=no target=template_release custom_modules="../spine_godot" $mono_module --jobs=$cpus - scons platform=windows tools=no target=template_debug custom_modules="../spine_godot" $mono_module --jobs=$cpus + scons platform=windows tools=no target=template_release d3d12=no custom_modules="../spine_godot" $mono_module --jobs=$cpus + scons platform=windows tools=no target=template_debug d3d12=no custom_modules="../spine_godot" $mono_module --jobs=$cpus cp bin/godot.windows.template_release.x86_64$mono_extension.exe bin/windows_release_x86_64.exe cp bin/godot.windows.template_debug.x86_64$mono_extension.exe bin/windows_debug_x86_64.exe diff --git a/spine-godot/build/build-v4.sh b/spine-godot/build/build-v4.sh index 271c357ff..e4f62f842 100755 --- a/spine-godot/build/build-v4.sh +++ b/spine-godot/build/build-v4.sh @@ -52,7 +52,7 @@ cpus=2 if [ "$OSTYPE" == "msys" ]; then os="windows" cpus=$NUMBER_OF_PROCESSORS - target="$target" + target="$target d3d12=no" godot_exe="godot.windows.editor$dev_extension.x86_64$mono_extension.exe" godot_exe_host=$godot_exe elif [[ "$OSTYPE" == "darwin"* ]]; then @@ -74,9 +74,6 @@ fi echo "CPUS: $cpus" pushd ../godot -if [ "$os" == "windows" ]; then - python misc/scripts/install_d3d12_sdk_windows.py -fi if [ "$os" == "macos" ] && [ $dev == "false" ]; then scons $target $mono_module arch=x86_64 compiledb=yes custom_modules="../spine_godot" opengl3=yes --jobs=$cpus scons $target $mono_module arch=arm64 compiledb=yes custom_modules="../spine_godot" opengl3=yes --jobs=$cpus