diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-18 16:31:16 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-26 11:21:56 -0700 |
commit | d766af44c80ca41adbd988eeb681f90fb52ec817 (patch) | |
tree | de0adcd07c2c4b6057256009bd70458fa21cb0d9 /test/text | |
parent | e4e08aca7910d1a8d75791db61de39fa03673fde (diff) | |
download | qtlocation-mapboxgl-d766af44c80ca41adbd988eeb681f90fb52ec817.tar.gz |
[core] Auto-growable SpriteAtlas using shelf-pack
Diffstat (limited to 'test/text')
-rw-r--r-- | test/text/quads.test.cpp | 4 |
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) }; |