diff options
author | Ansis Brammanis <ansis@mapbox.com> | 2020-02-11 11:24:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 11:24:14 -0500 |
commit | 4f18d5fa92df175ac30f856a9273a00349b56cc3 (patch) | |
tree | 52efcbe12eb4f40890d6dcdc390036613b233519 /test/gl | |
parent | 98f99e07433d057880dcd30f21bcb4f1e147482d (diff) | |
download | qtlocation-mapboxgl-4f18d5fa92df175ac30f856a9273a00349b56cc3.tar.gz |
[core] sort symbols using symbol-sort-key before placement (#16023)
fix #15964
partially port mapbox/mapbox-gl-js#9054
Diffstat (limited to 'test/gl')
-rw-r--r-- | test/gl/bucket.test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/gl/bucket.test.cpp b/test/gl/bucket.test.cpp index 2a7455e17c..c7636dabcf 100644 --- a/test/gl/bucket.test.cpp +++ b/test/gl/bucket.test.cpp @@ -123,6 +123,7 @@ TEST(Buckets, SymbolBucket) { bool sortFeaturesByY = false; std::string bucketLeaderID = "test"; std::vector<SymbolInstance> symbolInstances; + std::vector<SortKeyRange> symbolRanges; gl::Context context{ backend }; SymbolBucket bucket{std::move(layout), @@ -134,6 +135,7 @@ TEST(Buckets, SymbolBucket) { sortFeaturesByY, bucketLeaderID, std::move(symbolInstances), + std::move(symbolRanges), 1.0f, false, {}, |