summaryrefslogtreecommitdiff
path: root/test/text
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-05-18 16:31:16 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-05-26 11:21:56 -0700
commitd766af44c80ca41adbd988eeb681f90fb52ec817 (patch)
treede0adcd07c2c4b6057256009bd70458fa21cb0d9 /test/text
parente4e08aca7910d1a8d75791db61de39fa03673fde (diff)
downloadqtlocation-mapboxgl-d766af44c80ca41adbd988eeb681f90fb52ec817.tar.gz
[core] Auto-growable SpriteAtlas using shelf-pack
Diffstat (limited to 'test/text')
-rw-r--r--test/text/quads.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/text/quads.test.cpp b/test/text/quads.test.cpp
index 4c40b41a97..0a1dbbd1c9 100644
--- a/test/text/quads.test.cpp
+++ b/test/text/quads.test.cpp
@@ -13,7 +13,7 @@ TEST(getIconQuads, normal) {
SymbolLayoutProperties::Evaluated layout;
Anchor anchor(2.0, 3.0, 0.0, 0.5f, 0);
SpriteAtlasElement image = {
- Rect<uint16_t>( 0, 0, 15, 11 ),
+ mapbox::Bin(-1, 15, 11, 0, 0),
style::Image::Impl("test", PremultipliedImage({1,1}), 1.0)
};
@@ -43,7 +43,7 @@ TEST(getIconQuads, normal) {
TEST(getIconQuads, style) {
Anchor anchor(0.0, 0.0, 0.0, 0.5f, 0);
SpriteAtlasElement image = {
- Rect<uint16_t>( 0, 0, 20, 20 ),
+ mapbox::Bin(-1, 20, 20, 0, 0),
style::Image::Impl("test", PremultipliedImage({1,1}), 1.0)
};