mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Don't spend memory on overzooming when we aren't going to use it
This commit is contained in:
+3
-1
@@ -495,7 +495,9 @@ struct reader {
|
||||
tiles_at_maxzoom_so_far.clear();
|
||||
}
|
||||
|
||||
tiles_at_maxzoom_so_far.push_back(std::pair<unsigned, unsigned>(x, y));
|
||||
if (want_overzoom) {
|
||||
tiles_at_maxzoom_so_far.push_back(std::pair<unsigned, unsigned>(x, y));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user