summaryrefslogtreecommitdiffstats
path: root/src/skel/glfw
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-08-15 20:24:20 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2021-08-16 14:20:40 +0200
commit4e40c6f2ed74776b1e46d368199e10c7dc18c7b8 (patch)
treed8e6c017db17e6f1f39540d66580078af0fea2bb /src/skel/glfw
parentMerge pull request #1295 from erorcun/miami (diff)
downloadre3-4e40c6f2ed74776b1e46d368199e10c7dc18c7b8.tar
re3-4e40c6f2ed74776b1e46d368199e10c7dc18c7b8.tar.gz
re3-4e40c6f2ed74776b1e46d368199e10c7dc18c7b8.tar.bz2
re3-4e40c6f2ed74776b1e46d368199e10c7dc18c7b8.tar.lz
re3-4e40c6f2ed74776b1e46d368199e10c7dc18c7b8.tar.xz
re3-4e40c6f2ed74776b1e46d368199e10c7dc18c7b8.tar.zst
re3-4e40c6f2ed74776b1e46d368199e10c7dc18c7b8.zip
Diffstat (limited to 'src/skel/glfw')
-rw-r--r--src/skel/glfw/glfw.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index f8beee64..f1f97ee3 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -52,11 +52,7 @@ long _dwOperatingSystemVersion;
#include "Font.h"
#include "MemoryMgr.h"
-// We found out that GLFW's keyboard input handling is still pretty delayed/not stable, so now we fetch input from X11 directly on Linux.
-#if !defined _WIN32 && !defined __APPLE__ && !defined GTA_HANDHELD // && !defined WAYLAND
-#define GET_KEYBOARD_INPUT_FROM_X11
-#endif
-
+// This is defined on project-level, via premake5 or cmake
#ifdef GET_KEYBOARD_INPUT_FROM_X11
#include <X11/Xlib.h>
#include <X11/XKBlib.h>