Index: src/gpu/GrDistanceFieldTextContext.cpp |
diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp |
index 512420eb672090a205e665a47973fe3dd5892ec6..afc2a47ff15603f8f14ecf8b8dd43fc99302eedb 100755 |
--- a/src/gpu/GrDistanceFieldTextContext.cpp |
+++ b/src/gpu/GrDistanceFieldTextContext.cpp |
@@ -101,6 +101,8 @@ void GrDistanceFieldTextContext::flushGlyphs() { |
drawState->setFromPaint(fPaint, fContext->getMatrix(), fContext->getRenderTarget()); |
if (fCurrVertex > 0) { |
+ fContext->getFontCache()->updateTextures(); |
+ |
// setup our sampler state for our text texture/atlas |
SkASSERT(SkIsAlign4(fCurrVertex)); |
SkASSERT(fCurrTexture); |