From 872368b15b84f1a2c945238b4e2a9a2ed411e849 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 Sep 2013 21:52:19 +0300 Subject: remove useless includes from some files. --- src/graphicsmanager.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/graphicsmanager.cpp') diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index cda6f801f..ecc05cd4f 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -37,23 +37,28 @@ #endif #include "configuration.h" -#include "graphicsvertexes.h" #include "logger.h" #include "mgl.h" #include "render/graphics.h" +#include "render/mobileopenglgraphics.h" +#include "render/normalopenglgraphics.h" #include "render/renderers.h" -#include "render/sdl2softwaregraphics.h" +#include "render/safeopenglgraphics.h" #include "render/sdlgraphics.h" #include "resources/fboinfo.h" #include "resources/imagehelper.h" #include "resources/openglimagehelper.h" -#include "resources/sdl2softwareimagehelper.h" #include "resources/sdlimagehelper.h" + +#ifdef USE_SDL2 +#include "render/sdl2softwaregraphics.h" + +#include "resources/sdl2softwareimagehelper.h" #include "resources/surfaceimagehelper.h" +#endif -#include "utils/paths.h" #include "utils/sdlhelper.h" #include "utils/stringutils.h" -- cgit v1.2.3-60-g2f50