diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-03-10 09:02:07 -0800 |
---|---|---|
committer | Chris Loer <chris.loer@gmail.com> | 2017-03-22 08:50:45 -0700 |
commit | e90966a9373d7aa7908b4a6fe39fa6cf5230cbc0 (patch) | |
tree | f75298824f64a157f6a6d69433bc653822c0a8e8 /test/text/glyph_pbf.test.cpp | |
parent | 3c91b6b7de487993e75de552ba44249740644e42 (diff) | |
download | qtlocation-mapboxgl-e90966a9373d7aa7908b4a6fe39fa6cf5230cbc0.tar.gz |
[core] De-mutex GlyphAtlas.upstream/cloer_glyph_sanity_check
- Expose glyph information to workers via message interface.
- Symbol preparation for a tile now depends on all glyphs becoming
available before it can start.
Diffstat (limited to 'test/text/glyph_pbf.test.cpp')
-rw-r--r-- | test/text/glyph_pbf.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/text/glyph_pbf.test.cpp b/test/text/glyph_pbf.test.cpp index be3ca3359b..48b2d7a07c 100644 --- a/test/text/glyph_pbf.test.cpp +++ b/test/text/glyph_pbf.test.cpp @@ -44,7 +44,7 @@ TEST(GlyphPBF, Parsing) { glyphAtlasObserver.glyphsLoaded = [&](const FontStack&, const GlyphRange&) { loop.stop(); - const auto& sdfs = glyphAtlas.getGlyphSet(fontStack)->getSDFs(); + const auto& sdfs = glyphAtlas.getGlyphSet(fontStack).getSDFs(); // The fake glyphs don't contain a glyph that has the ID 0; it only contains glyphs with // undefined IDs, but the parser should remove them. |