summaryrefslogtreecommitdiff
path: root/src/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r--src/map/map.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index c0a45b69d9..e4c5ec92ee 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -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);
}
}