summaryrefslogtreecommitdiff
path: root/src/mbgl/style/style.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-11-01 16:14:33 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-11-08 18:09:58 +0100
commitbcdbbbcac2e331ea3a23085b1e0f5a0f5d25e0a7 (patch)
treef7961bcbb800b781a980e9e387d8f191d22051ca /src/mbgl/style/style.cpp
parent3b38cf48b706ace413bee44e8d2742710c9425b4 (diff)
downloadqtlocation-mapboxgl-bcdbbbcac2e331ea3a23085b1e0f5a0f5d25e0a7.tar.gz
[core] don't assign clip IDs to tiles that aren't rendered
Diffstat (limited to 'src/mbgl/style/style.cpp')
-rw-r--r--src/mbgl/style/style.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp
index f14be51392..acbc949b4c 100644
--- a/src/mbgl/style/style.cpp
+++ b/src/mbgl/style/style.cpp
@@ -404,6 +404,7 @@ RenderData Style::getRenderData(MapDebugOptions debugOptions) const {
auto bucket = tile.tile.getBucket(*layer);
if (bucket) {
result.order.emplace_back(*layer, &tile, bucket);
+ tile.used = true;
}
}
}