summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-09 18:30:34 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-09 18:30:34 +0300
commitfec0ab8c79827cca72a4b637f57ce13319d50e36 (patch)
treea90121a70a7b63ede4140cc7d01fa4b65761fcd6 /src
parenta9372564c58c981717b8a4ddb3a78df2f7e5bf24 (diff)
downloadmv-fec0ab8c79827cca72a4b637f57ce13319d50e36.tar.gz
mv-fec0ab8c79827cca72a4b637f57ce13319d50e36.tar.bz2
mv-fec0ab8c79827cca72a4b637f57ce13319d50e36.tar.xz
mv-fec0ab8c79827cca72a4b637f57ce13319d50e36.zip
Remove wrong include if build without OpenGL support.
Diffstat (limited to 'src')
-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