summaryrefslogtreecommitdiff
path: root/test/algorithm
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 /test/algorithm
parent3b38cf48b706ace413bee44e8d2742710c9425b4 (diff)
downloadqtlocation-mapboxgl-bcdbbbcac2e331ea3a23085b1e0f5a0f5d25e0a7.tar.gz
[core] don't assign clip IDs to tiles that aren't rendered
Diffstat (limited to 'test/algorithm')
-rw-r--r--test/algorithm/generate_clip_ids.test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/algorithm/generate_clip_ids.test.cpp b/test/algorithm/generate_clip_ids.test.cpp
index 5b7f4afb26..8ca0191b3a 100644
--- a/test/algorithm/generate_clip_ids.test.cpp
+++ b/test/algorithm/generate_clip_ids.test.cpp
@@ -6,6 +6,7 @@ using namespace mbgl;
struct Renderable {
ClipID clip;
+ bool used = true;
bool operator==(const Renderable& rhs) const {
return clip == rhs.clip;