summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/sdlinput.cpp1
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp4
-rw-r--r--src/gui/windowmanager.cpp8
3 files changed, 4 insertions, 9 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index 3dfa5d6d6..9f4ce0c93 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -90,7 +90,6 @@
#include "gui/gui.h"
#endif
-#include <SDL_keyboard.h>
#include <SDL_timer.h>
#include "debug.h"
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index 591093bc8..3c38466a7 100644
--- a/src/gui/widgets/tabs/setup_video.cpp
+++ b/src/gui/widgets/tabs/setup_video.cpp
@@ -22,8 +22,6 @@
#include "gui/widgets/tabs/setup_video.h"
-#include "configuration.h"
-
#include "gui/windowmanager.h"
#include "gui/windows/okdialog.h"
@@ -51,8 +49,6 @@
#include "gui/models/modelistmodel.h"
#include "gui/models/opengllistmodel.h"
-#include "render/renderers.h"
-
#include <sstream>
#include "debug.h"
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp
index 479c8d2ca..9176c448a 100644
--- a/src/gui/windowmanager.cpp
+++ b/src/gui/windowmanager.cpp
@@ -35,7 +35,9 @@
#include "gui/popups/textpopup.h"
-#ifndef DYECMD
+#ifdef DYECMD
+#include "render/graphics.h"
+#else // DYECMD
#include "gui/popups/beingpopup.h"
#include "gui/popups/itempopup.h"
#include "gui/popups/popupmenu.h"
@@ -46,7 +48,7 @@
#include "gui/windows/didyouknowwindow.h"
#include "gui/windows/helpwindow.h"
#include "gui/windows/setupwindow.h"
-#endif
+#endif // DYECMD
#include "gui/widgets/createwidget.h"
#include "gui/widgets/desktop.h"
@@ -61,8 +63,6 @@
#include "utils/naclmessages.h"
#endif // __native_client__
-#include "render/graphics.h"
-
#ifdef ANDROID
#ifndef USE_SDL2
#include <SDL_screenkeyboard.h>