From d766af44c80ca41adbd988eeb681f90fb52ec817 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 18 May 2017 16:31:16 -0700 Subject: [core] Auto-growable SpriteAtlas using shelf-pack --- test/text/quads.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/text/quads.test.cpp') 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( 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( 0, 0, 20, 20 ), + mapbox::Bin(-1, 20, 20, 0, 0), style::Image::Impl("test", PremultipliedImage({1,1}), 1.0) }; -- cgit v1.2.1