Skip to content

Commit

Permalink
16 bits is enough for tile numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
e-n-f committed Nov 8, 2023
1 parent 2c56187 commit 71a0c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tile-join.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,8 @@ struct tileset_reader {

// for overzooming
int maxzoom_so_far = -1;
std::vector<std::pair<unsigned, unsigned>> tiles_at_maxzoom_so_far;
std::vector<std::pair<unsigned, unsigned>> overzoomed_tiles;
std::vector<std::pair<unsigned short, unsigned short>> tiles_at_maxzoom_so_far;
std::vector<std::pair<unsigned short, unsigned short>> overzoomed_tiles;
bool overzoom_consumed_at_this_zoom = false;

// parent tile cache
Expand Down

0 comments on commit 71a0c4e

Please sign in to comment.