summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 7b83e9c7b..011a19319 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -1439,11 +1439,15 @@ void Map::clearIndexedTilesets()
void Map::reduce()
{
+#ifdef USE_SDL2
+ return;
+#else
if (!mFringeLayer || mOpenGL > 0 ||
!config.getBoolValue("enableMapReduce"))
{
return;
}
+#endif
int cnt = 0;
for (int x = 0; x < mWidth; x ++)