summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-31 02:40:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-31 02:40:00 +0300
commit87ff2e061e0774cb438c1e12f3ddb01448332f79 (patch)
treef75f8a0e9aabccf8fa9e59b25b1c905c513ca523
parentdca514b0d7ae3620d902be17d6844fc728f55dc9 (diff)
downloadmanaplus-87ff2e061e0774cb438c1e12f3ddb01448332f79.tar.gz
manaplus-87ff2e061e0774cb438c1e12f3ddb01448332f79.tar.bz2
manaplus-87ff2e061e0774cb438c1e12f3ddb01448332f79.tar.xz
manaplus-87ff2e061e0774cb438c1e12f3ddb01448332f79.zip
Fix compilation without OpenGL.
-rw-r--r--src/graphicsmanager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index f3b712724..9ce2b6302 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -86,7 +86,11 @@
#ifdef USE_OPENGL
#include "test/testmain.h"
-#endif
+#else // USE_OPENGL
+#include "configuration.h"
+
+#include "render/renderers.h"
+#endif // USE_OPENGL
#include <SDL_syswm.h>