summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-11 12:19:23 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-11 12:19:23 +0300
commite328a69fe44e9808e18a4a9adad882146b1be22b (patch)
tree1df4fc0abaf7a0f2dffbf54ad88272b252ed8ac0
parent4abd70a6b8815479231035dbaba44c33d1325245 (diff)
downloadmanaverse-e328a69fe44e9808e18a4a9adad882146b1be22b.tar.gz
manaverse-e328a69fe44e9808e18a4a9adad882146b1be22b.tar.bz2
manaverse-e328a69fe44e9808e18a4a9adad882146b1be22b.tar.xz
manaverse-e328a69fe44e9808e18a4a9adad882146b1be22b.zip
Add missing include for SDL2 in mglxinit.cpp
-rw-r--r--src/render/openglx/mglxinit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/openglx/mglxinit.cpp b/src/render/openglx/mglxinit.cpp
index ffbebc47f..d83872871 100644
--- a/src/render/openglx/mglxinit.cpp
+++ b/src/render/openglx/mglxinit.cpp
@@ -26,6 +26,10 @@
#include "render/openglx/mglx.h"
+#ifdef USE_SDL2
+#include <SDL_video.h>
+#endif
+
#include "debug.h"
void Glx::initFunctions()