Browse Source

[godot] Fixes #2371, crash on window resize

This is due to a Godot 4.1.1 bug in combination with the latest MoltenVK release. See https://github.com/godotengine/godot/pull/81219#issuecomment-1706609032. We are hardcoding the SDK version for now, until the fix has been merged and released in Godot 4.1.x.
Mario Zechner 2 years ago
parent
commit
4f69cdd6af

+ 4 - 3
spine-godot/.vscode/settings.json

@@ -1,4 +1,5 @@
 {
-    "cmake.configureOnOpen": false,
-    "C_Cpp.intelliSenseEngine": "disabled",
-}
+  "cmake.configureOnOpen": false,
+  "C_Cpp.intelliSenseEngine": "disabled",
+  "dotnet.defaultSolution": "disable"
+}

+ 1 - 1
spine-godot/build/install-macos-vulkan-sdk.sh

@@ -2,7 +2,7 @@ set -euo pipefail
 IFS=$'\n\t'
 
 # Download and install the Vulkan SDK.
-curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg
+curl -L "https://sdk.lunarg.com/sdk/download/1.2.250/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg
 hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
 /Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \
     --accept-licenses --default-answer --confirm-command install