summaryrefslogtreecommitdiff
path: root/src/mbgl/text
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-06-12 11:12:38 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-06-13 10:18:43 -0700
commitbb544136f37c67f1ceea9a0b0c2ac780e72a1596 (patch)
treecc0af681302b872f40b9cba4abb82cdabd0bb597 /src/mbgl/text
parent244819f2da6b892ce3eab78f3b54c61cb93abc92 (diff)
downloadqtlocation-mapboxgl-bb544136f37c67f1ceea9a0b0c2ac780e72a1596.tar.gz
[core] Update to shelf-pack 2.1.0
Diffstat (limited to 'src/mbgl/text')
-rw-r--r--src/mbgl/text/glyph_atlas.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mbgl/text/glyph_atlas.cpp b/src/mbgl/text/glyph_atlas.cpp
index 6636c23f34..1b98ea36bf 100644
--- a/src/mbgl/text/glyph_atlas.cpp
+++ b/src/mbgl/text/glyph_atlas.cpp
@@ -53,11 +53,11 @@ GlyphAtlas makeGlyphAtlas(const GlyphMap& glyphs) {
}
}
-// pack.shrink();
-// result.image.resize({
-// static_cast<uint32_t>(pack.width()),
-// static_cast<uint32_t>(pack.height())
-// });
+ pack.shrink();
+ result.image.resize({
+ static_cast<uint32_t>(pack.width()),
+ static_cast<uint32_t>(pack.height())
+ });
return result;
}