summaryrefslogtreecommitdiff
path: root/src/mbgl/text/shaping.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/shaping.cpp')
-rw-r--r--src/mbgl/text/shaping.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/shaping.cpp b/src/mbgl/text/shaping.cpp
index fb1aa04346..2b23deadea 100644
--- a/src/mbgl/text/shaping.cpp
+++ b/src/mbgl/text/shaping.cpp
@@ -436,7 +436,7 @@ void shapeLines(Shaping& shaping,
metrics.left = ImagePosition::padding;
metrics.top = -Glyph::borderSize;
metrics.advance = vertical ? displaySize[1] : displaySize[0];
- rect = image->second.paddedTextureRect();
+ rect = image->second.paddedRect;
// If needed, allow to set scale factor for an image using
// alias "image-scale" that could be alias for "font-scale"