Don't spend memory on overzooming when we aren't going to use it

This commit is contained in:
Erica Fischer
2023-08-23 12:18:33 -07:00
parent 49310b6ce4
commit 54503580e8
+2
View File
@@ -495,9 +495,11 @@ struct reader {
tiles_at_maxzoom_so_far.clear(); tiles_at_maxzoom_so_far.clear();
} }
if (want_overzoom) {
tiles_at_maxzoom_so_far.push_back(std::pair<unsigned, unsigned>(x, y)); tiles_at_maxzoom_so_far.push_back(std::pair<unsigned, unsigned>(x, y));
} }
} }
}
void next_overzoom() { void next_overzoom() {
zoom++; zoom++;