diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-11-14 16:58:25 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-12-02 17:11:49 +0200 |
commit | 26bf566f535e55c6d82830e3b0f5a2702a0fec42 (patch) | |
tree | fde3beaa430e06151b68f6c346bc7b103debd28b /test/gl | |
parent | 2c49c4374cb9e3654c1d347b1071542918ce5fd2 (diff) | |
download | qtlocation-mapboxgl-26bf566f535e55c6d82830e3b0f5a2702a0fec42.tar.gz |
[core] Use new 'SymbolTextAndIcon' program to draw icons in text
Diffstat (limited to 'test/gl')
-rw-r--r-- | test/gl/bucket.test.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/gl/bucket.test.cpp b/test/gl/bucket.test.cpp index 13b30eb75d..9f8af4e469 100644 --- a/test/gl/bucket.test.cpp +++ b/test/gl/bucket.test.cpp @@ -125,7 +125,19 @@ TEST(Buckets, SymbolBucket) { std::vector<SymbolInstance> symbolInstances; gl::Context context{ backend }; - SymbolBucket bucket { std::move(layout), {}, 16.0f, 1.0f, 0, iconsNeedLinear, sortFeaturesByY, bucketLeaderID, std::move(symbolInstances), 1.0f, false, {}}; + SymbolBucket bucket{std::move(layout), + {}, + 16.0f, + 1.0f, + 0, + iconsNeedLinear, + sortFeaturesByY, + bucketLeaderID, + std::move(symbolInstances), + 1.0f, + false, + {}, + false /*iconsInText*/}; ASSERT_FALSE(bucket.hasIconData()); ASSERT_FALSE(bucket.hasSdfIconData()); ASSERT_FALSE(bucket.hasTextData()); |