summaryrefslogtreecommitdiff
path: root/test/gl/bucket.test.cpp
diff options
context:
space:
mode:
authorMolly Lloyd <molly@mapbox.com>2018-12-18 16:08:40 -0800
committerMolly Lloyd <molly@mapbox.com>2018-12-18 16:13:03 -0800
commitbf2f97ade6dc81d4991a029d22b8579e22437816 (patch)
treea9ecd85a4dfc7a4252e9a533a3da7caa5cacab7a /test/gl/bucket.test.cpp
parente6bdd4235589dfbaf692d2fbfd8706736aa31060 (diff)
downloadqtlocation-mapboxgl-bf2f97ade6dc81d4991a029d22b8579e22437816.tar.gz
[test] update tests with new constructorsupstream/dynamic-text-anchor
Diffstat (limited to 'test/gl/bucket.test.cpp')
-rw-r--r--test/gl/bucket.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gl/bucket.test.cpp b/test/gl/bucket.test.cpp
index 04e6447ad8..9a7ab8d0a4 100644
--- a/test/gl/bucket.test.cpp
+++ b/test/gl/bucket.test.cpp
@@ -114,9 +114,9 @@ TEST(Buckets, SymbolBucket) {
bool sortFeaturesByY = false;
std::string bucketLeaderID = "test";
std::vector<SymbolInstance> symbolInstances;
-
+ const float tilePixelRatio = 1.0f;
gl::Context context;
- SymbolBucket bucket { layout, {}, 16.0f, 1.0f, 0, sdfIcons, iconsNeedLinear, sortFeaturesByY, bucketLeaderID, std::move(symbolInstances) };
+ SymbolBucket bucket { layout, {}, 16.0f, 1.0f, 0, sdfIcons, iconsNeedLinear, sortFeaturesByY, tilePixelRatio, bucketLeaderID, std::move(symbolInstances) };
ASSERT_FALSE(bucket.hasIconData());
ASSERT_FALSE(bucket.hasTextData());
ASSERT_FALSE(bucket.hasCollisionBoxData());