summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
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"