fix build for windows platform

This commit is contained in:
Robert Paciorek 2024-08-25 12:28:59 +00:00
parent ca97b654ee
commit 44253e35e7

View file

@ -5,6 +5,7 @@
#include <algorithm> #include <algorithm>
#include <godot_cpp/classes/control.hpp> #include <godot_cpp/classes/control.hpp>
#include <godot_cpp/classes/display_server.hpp>
#include <godot_cpp/classes/font.hpp> #include <godot_cpp/classes/font.hpp>
#include <godot_cpp/classes/image_texture.hpp> #include <godot_cpp/classes/image_texture.hpp>
#include <godot_cpp/classes/input.hpp> #include <godot_cpp/classes/input.hpp>
@ -22,10 +23,6 @@
#include <libtsm.h> #include <libtsm.h>
#include <xkbcommon/xkbcommon-keysyms.h> #include <xkbcommon/xkbcommon-keysyms.h>
#if defined(__linux)
#include <godot_cpp/classes/display_server.hpp>
#endif
#define SHADERS_DIR "res://addons/godot_xterm/shaders/" #define SHADERS_DIR "res://addons/godot_xterm/shaders/"
#define FOREGROUND_SHADER_PATH SHADERS_DIR "foreground.gdshader" #define FOREGROUND_SHADER_PATH SHADERS_DIR "foreground.gdshader"
#define BACKGROUND_SHADER_PATH SHADERS_DIR "background.gdshader" #define BACKGROUND_SHADER_PATH SHADERS_DIR "background.gdshader"