summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-15 22:03:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-16 13:50:43 +0300
commit23034a47937c109590eb60e4ee0efa32a8c9e45e (patch)
tree844c716da20752dcbb0aead649011f54d8062635 /src/graphicsmanager.cpp
parent4638f969d4206ba8dd857eb6d2758106cc5268df (diff)
downloadmv-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.gz
mv-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.bz2
mv-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.xz
mv-23034a47937c109590eb60e4ee0efa32a8c9e45e.zip
Remove useless includes from cpp files
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 1d59a4a64..13a224ba4 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -21,44 +21,51 @@
#include "graphicsmanager.h"
#ifdef USE_OPENGL
-
#ifndef WIN32
#ifdef ANDROID
#include <GLES2/gl2.h>
#include <GLES/glext.h>
#include <EGL/egl.h>
+
#ifndef USE_SDL2
#include <SDL_android.h>
#endif // USE_SDL2
#else // ANDROID
#include <GL/glx.h>
#endif // ANDROID
-#else // WIN32
-#endif
+#endif // WIN32
#endif // USE_OPENGL
#include "configuration.h"
#include "logger.h"
+
+#ifdef DYECMD
+#include "configuration.h"
+#endif
+
#include "settings.h"
-#include "render/graphics.h"
+#ifdef USE_OPENGL
#include "render/mglcheck.h"
#include "render/mgl.h"
#include "render/mglemu.h"
#include "render/mobileopenglgraphics.h"
#include "render/modernopenglgraphics.h"
#include "render/normalopenglgraphics.h"
-#include "render/renderers.h"
#include "render/safeopenglgraphics.h"
+#endif
+#include "render/renderers.h"
#include "render/sdlgraphics.h"
+#ifdef USE_OPENGL
#include "resources/fboinfo.h"
-#include "resources/imagehelper.h"
#include "resources/openglimagehelper.h"
-#include "resources/sdlimagehelper.h"
#include "render/mglfunctions.h"
+#endif
+
+#include "resources/sdlimagehelper.h"
#ifdef USE_SDL2
#include "render/sdl2softwaregraphics.h"
@@ -69,9 +76,10 @@
#include "utils/delete2.h"
#include "utils/sdlhelper.h"
-#include "utils/stringutils.h"
+#ifdef USE_OPENGL
#include "test/testmain.h"
+#endif
#include <SDL_syswm.h>