aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrTextContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/src/GrTextContext.cpp')
-rw-r--r--gpu/src/GrTextContext.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/src/GrTextContext.cpp b/gpu/src/GrTextContext.cpp
index d5fa1ccc65..1374a26639 100644
--- a/gpu/src/GrTextContext.cpp
+++ b/gpu/src/GrTextContext.cpp
@@ -137,6 +137,9 @@ void GrTextContext::drawPackedGlyph(GrGlyph::PackedID packed,
if (fStrike->getGlyphAtlas(glyph, scaler)) {
goto HAS_ATLAS;
}
+ // must do this to flush inorder buffering before we purge
+ fContext->flushText();
+
// try to purge
fContext->getFontCache()->purgeExceptFor(fStrike);
if (fStrike->getGlyphAtlas(glyph, scaler)) {