mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-13 22:10:25 +01:00
fix build for windows platform
This commit is contained in:
parent
ca97b654ee
commit
44253e35e7
1 changed files with 1 additions and 4 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue