summaryrefslogtreecommitdiff
path: root/src/render/openglx
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 /src/render/openglx
parent4abd70a6b8815479231035dbaba44c33d1325245 (diff)
downloadmanaplus-e328a69fe44e9808e18a4a9adad882146b1be22b.tar.gz
manaplus-e328a69fe44e9808e18a4a9adad882146b1be22b.tar.bz2
manaplus-e328a69fe44e9808e18a4a9adad882146b1be22b.tar.xz
manaplus-e328a69fe44e9808e18a4a9adad882146b1be22b.zip
Add missing include for SDL2 in mglxinit.cpp
Diffstat (limited to 'src/render/openglx')
-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()