diff options
Diffstat (limited to 'src/resources/map')
-rw-r--r-- | src/resources/map/map.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp index e016654e8..111e7c26b 100644 --- a/src/resources/map/map.cpp +++ b/src/resources/map/map.cpp @@ -402,6 +402,7 @@ void Map::draw(Graphics *const graphics, int scrollX, int scrollY) } else { +#ifdef USE_OPENGL if (mCachedDraw) { if (updateFlag) @@ -440,6 +441,7 @@ void Map::draw(Graphics *const graphics, int scrollX, int scrollY) (*it)->drawOGL(graphics); } else +#endif { FOR_EACH (Layers::iterator, it, mDrawUnderLayers) { |