diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-15 20:24:20 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-16 20:06:52 +0200 |
commit | e0ecbeee39e605cf2ee06e3632f4931d03606ce7 (patch) | |
tree | 36569421f31878d57a24cc3d279a2831f8173b04 /src/skel | |
parent | Fix impossible bullets & turn speed on heavy guns (diff) | |
download | re3-e0ecbeee39e605cf2ee06e3632f4931d03606ce7.tar re3-e0ecbeee39e605cf2ee06e3632f4931d03606ce7.tar.gz re3-e0ecbeee39e605cf2ee06e3632f4931d03606ce7.tar.bz2 re3-e0ecbeee39e605cf2ee06e3632f4931d03606ce7.tar.lz re3-e0ecbeee39e605cf2ee06e3632f4931d03606ce7.tar.xz re3-e0ecbeee39e605cf2ee06e3632f4931d03606ce7.tar.zst re3-e0ecbeee39e605cf2ee06e3632f4931d03606ce7.zip |
Diffstat (limited to 'src/skel')
-rw-r--r-- | src/skel/glfw/glfw.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp index 92574953..92a5a93f 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> |