mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-01 21:29:07 +08:00
Backport: include material.h in SpineSlotNode.h, install D3D12 SDK on Windows
This commit is contained in:
parent
da81f151a3
commit
6968ebd8e8
@ -64,6 +64,7 @@ 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
|
||||
cp bin/godot.windows.template_release.x86_64$mono_extension.exe bin/windows_release_x86_64.exe
|
||||
|
||||
@ -74,6 +74,9 @@ 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
|
||||
|
||||
@ -35,6 +35,7 @@
|
||||
#include <godot_cpp/classes/node2d.hpp>
|
||||
#else
|
||||
#include "scene/2d/node_2d.h"
|
||||
#include "scene/resources/material.h"
|
||||
#endif
|
||||
|
||||
class SpineSlotNode : public Node2D {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user