summaryrefslogtreecommitdiff
path: root/src/mbgl/layout
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-02-23 12:42:48 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-02-27 16:19:35 -0800
commite3500c1f791be82d64b50c7fa80b29b4e3c8a031 (patch)
treecba8edaf48b5de2aaf80443a397beaa6ceccc1a7 /src/mbgl/layout
parent47dcfe7d441933c8d75c5efca14fb4683cf7099e (diff)
downloadqtlocation-mapboxgl-e3500c1f791be82d64b50c7fa80b29b4e3c8a031.tar.gz
[core] Replace three maps/mutexes in GlyphAtlas with a single map and mutex
Diffstat (limited to 'src/mbgl/layout')
-rw-r--r--src/mbgl/layout/symbol_layout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/layout/symbol_layout.cpp b/src/mbgl/layout/symbol_layout.cpp
index 867b82e285..409128a6fd 100644
--- a/src/mbgl/layout/symbol_layout.cpp
+++ b/src/mbgl/layout/symbol_layout.cpp
@@ -256,7 +256,7 @@ void SymbolLayout::prepare(uintptr_t tileUID,
// Add the glyphs we need for this label to the glyph atlas.
if (result) {
- glyphAtlas.addGlyphs(tileUID, text, layout.get<TextFont>(), **glyphSet, face);
+ glyphAtlas.addGlyphs(tileUID, text, layout.get<TextFont>(), glyphSet, face);
}
return result;