summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-08-14 15:33:19 -0700
committerChris Loer <chris.loer@mapbox.com>2017-08-18 10:53:26 -0700
commitfd2b525c4d196520abaf9f347d3a73c37b47bd61 (patch)
tree289765c0508c5e64a7f9fd8afbf1e691fbb0e363 /test
parentedc8a6492eec6d2f7237cd8a64f3c30817506132 (diff)
downloadqtlocation-mapboxgl-fd2b525c4d196520abaf9f347d3a73c37b47bd61.tar.gz
[core] Correct x-offset introduced by vertical glyph rotation
Fixes issue#9768. Port of GL JS PR #5100.
Diffstat (limited to 'test')
-rw-r--r--test/text/quads.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/text/quads.test.cpp b/test/text/quads.test.cpp
index 682ba9d795..c4c1a7ac15 100644
--- a/test/text/quads.test.cpp
+++ b/test/text/quads.test.cpp
@@ -50,7 +50,7 @@ TEST(getIconQuads, style) {
shapedText.bottom = 30.0f;
shapedText.left = -60.0f;
shapedText.right = 20.0f;
- shapedText.positionedGlyphs.emplace_back(PositionedGlyph(32, 0.0f, 0.0f, 0));
+ shapedText.positionedGlyphs.emplace_back(PositionedGlyph(32, 0.0f, 0.0f, false));
// none
{