summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-12-10 13:07:38 +0100
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-01-15 15:02:11 +0200
commit7d8d13ce04710d1eb5687c143ab466fcf8ee6c84 (patch)
tree339a5b2bda8538e1725f1323f0e68ac06f587ebf /test
parentc80baa35b3e03bd0ef795e54bb6a83641627e9b0 (diff)
downloadqtlocation-mapboxgl-7d8d13ce04710d1eb5687c143ab466fcf8ee6c84.tar.gz
[core] Change ImagePosition from storing non-padded rect to padded rect to mirror the JS implementation
Diffstat (limited to 'test')
-rw-r--r--test/renderer/pattern_atlas.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/renderer/pattern_atlas.test.cpp b/test/renderer/pattern_atlas.test.cpp
index 2a19e463bd..350a64adb4 100644
--- a/test/renderer/pattern_atlas.test.cpp
+++ b/test/renderer/pattern_atlas.test.cpp
@@ -51,7 +51,7 @@ TEST(PatternAtlas, Updates) {
ASSERT_TRUE(added);
auto found = patternAtlas.getPattern("one");
ASSERT_TRUE(found);
- EXPECT_EQ(added->textureRect, found->textureRect);
+ EXPECT_EQ(added->paddedRect, found->paddedRect);
auto a = *found;
EXPECT_EQ(1, a.tl()[0]);