summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-03 22:30:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-03 22:30:23 +0300
commit58f7f377a7fa6ba1aabfc35e337e7a81f769e45d (patch)
tree745f05e4e147d5fb72356c2847074663393d76e7 /src/gui/widgets/tabs/setup_video.cpp
parent53cd20d682e6d97c02872ff6336d332cf8d58d45 (diff)
downloadmanaverse-58f7f377a7fa6ba1aabfc35e337e7a81f769e45d.tar.gz
manaverse-58f7f377a7fa6ba1aabfc35e337e7a81f769e45d.tar.bz2
manaverse-58f7f377a7fa6ba1aabfc35e337e7a81f769e45d.tar.xz
manaverse-58f7f377a7fa6ba1aabfc35e337e7a81f769e45d.zip
Fix compilation for Android.
Diffstat (limited to 'src/gui/widgets/tabs/setup_video.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index 378a02f42..affe8df45 100644
--- a/src/gui/widgets/tabs/setup_video.cpp
+++ b/src/gui/widgets/tabs/setup_video.cpp
@@ -44,14 +44,17 @@
#include "graphicsmanager.h"
#include "test/testmain.h"
-#endif
+#endif // defined(USE_OPENGL) && !defined(ANDROID) && !defined(__APPLE__)
+
#ifndef USE_OPENGL
+#include "render/renderers.h"
+#endif
+
+#if defined(ANDROID) || !defined(USE_OPENGL)
#include "configuration.h"
#include "utils/stringutils.h"
-
-#include "render/renderers.h"
#endif
#include "gui/models/modelistmodel.h"