diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-03 22:30:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-03 22:30:23 +0300 |
commit | 58f7f377a7fa6ba1aabfc35e337e7a81f769e45d (patch) | |
tree | 745f05e4e147d5fb72356c2847074663393d76e7 /src/gui/widgets | |
parent | 53cd20d682e6d97c02872ff6336d332cf8d58d45 (diff) | |
download | manaplus-58f7f377a7fa6ba1aabfc35e337e7a81f769e45d.tar.gz manaplus-58f7f377a7fa6ba1aabfc35e337e7a81f769e45d.tar.bz2 manaplus-58f7f377a7fa6ba1aabfc35e337e7a81f769e45d.tar.xz manaplus-58f7f377a7fa6ba1aabfc35e337e7a81f769e45d.zip |
Fix compilation for Android.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/setup_video.cpp | 9 |
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" |