From fec0ab8c79827cca72a4b637f57ce13319d50e36 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Mar 2018 18:30:34 +0300 Subject: Remove wrong include if build without OpenGL support. --- src/resources/map/map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources') 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 -- cgit v1.2.3-60-g2f50