summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/map/map.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index 656f10fba..b37e2af9b 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -42,7 +42,9 @@
#include "resources/ambientlayer.h"
+#ifdef USE_OPENGL
#include "resources/atlas/atlasresource.h"
+#endif // USE_OPENGL
#include "resources/image/subimage.h"
@@ -59,7 +61,6 @@
#include "resources/map/tileset.h"
#include "resources/map/walklayer.h"
-
#ifdef USE_OPENGL
#include "render/renderers.h"
#endif // USE_OPENGL