summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 786242485..f667569ce 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -28,8 +28,10 @@
#include "resources/map/walklayer.h"
+#ifdef USE_OPENGL
#include "resources/atlasmanager.h"
#include "resources/atlasresource.h"
+#endif
#include "resources/dye.h"
#include "resources/image.h"
#include "resources/imagehelper.h"
@@ -43,9 +45,11 @@
#include "utils/physfsrwops.h"
#include "utils/sdlcheckutils.h"
+#ifdef USE_OPENGL
#include "render/shaders/shader.h"
#include "render/shaders/shaderprogram.h"
#include "render/shaders/shadersmanager.h"
+#endif
#include <SDL_image.h>