Make Map::getSprite() private

This commit is contained in:
John Firebaugh
2014-11-25 16:22:05 -08:00
parent 576533b18c
commit d3ba1071cb
6 changed files with 21 additions and 14 deletions

View File

@@ -642,7 +642,10 @@ void Map::updateSources(const util::ptr<StyleLayerGroup> &group) {
void Map::updateTiles() {
for (const util::ptr<StyleSource> &source : getActiveSources()) {
source->source->update(*this, getWorker(), glyphAtlas, *glyphStore, spriteAtlas, *texturepool, *fileSource);
source->source->update(*this, getWorker(),
glyphAtlas, *glyphStore,
spriteAtlas, getSprite(),
*texturepool, *fileSource);
}
}