summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-09 21:52:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-09 21:52:19 +0300
commit872368b15b84f1a2c945238b4e2a9a2ed411e849 (patch)
treeba99d9ec8653813f7d9f4007651f8650e2345295 /src/graphicsmanager.cpp
parentd3d879ac07ac45a623365b4db28c3b120a7bbb25 (diff)
downloadManaVerse-872368b15b84f1a2c945238b4e2a9a2ed411e849.tar.gz
ManaVerse-872368b15b84f1a2c945238b4e2a9a2ed411e849.tar.bz2
ManaVerse-872368b15b84f1a2c945238b4e2a9a2ed411e849.tar.xz
ManaVerse-872368b15b84f1a2c945238b4e2a9a2ed411e849.zip
remove useless includes from some files.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp13
1 files changed, 9 insertions, 4 deletions
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"