diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-19 22:14:12 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-20 11:43:59 +0200 |
commit | 8bf841a9513c28057fcedb0dab032bb00016b90c (patch) | |
tree | b429559bcd8f8e20e60b6e89ce39d34171e7eb41 /src/mbgl | |
parent | cb1d5053b09e91df72b655041b6995d23f9f0161 (diff) | |
download | qtlocation-mapboxgl-8bf841a9513c28057fcedb0dab032bb00016b90c.tar.gz |
[core] Render::clearData clears fonts
Diffstat (limited to 'src/mbgl')
-rw-r--r-- | src/mbgl/renderer/render_orchestrator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/renderer/render_orchestrator.cpp b/src/mbgl/renderer/render_orchestrator.cpp index 08338ff616..9cab1d7caa 100644 --- a/src/mbgl/renderer/render_orchestrator.cpp +++ b/src/mbgl/renderer/render_orchestrator.cpp @@ -709,6 +709,7 @@ void RenderOrchestrator::clearData() { if (!patternAtlas->isEmpty()) patternAtlas = std::make_unique<PatternAtlas>(); imageManager->clear(); + glyphManager->evict(fontStacks(*layerImpls)); } void RenderOrchestrator::onGlyphsError(const FontStack& fontStack, const GlyphRange& glyphRange, std::exception_ptr error) { |