summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-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"