pass SourceInfo object to TileData so that we can not skip buckets that appear later than the source maxzoom

This commit is contained in:
Konstantin Käfer
2014-07-17 15:52:39 -07:00
parent 3141b8b1f7
commit 9ed0ca5983
8 changed files with 28 additions and 24 deletions

View File

@@ -5,8 +5,8 @@
using namespace mbgl;
RasterTileData::RasterTileData(Tile::ID id, Map &map, const std::string url)
: TileData(id, map, url),
RasterTileData::RasterTileData(Tile::ID id, Map &map, const SourceInfo &source)
: TileData(id, map, source),
bucket(map.getTexturepool()) {
}