Index: src/gpu/GrBitmapTextContext.cpp |
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp |
index 3b5e27a90cc173e4e82c77c299b70125e2033721..744d97f4268a9e6c75769b3a8e4abb791b2f26fb 100755 |
--- a/src/gpu/GrBitmapTextContext.cpp |
+++ b/src/gpu/GrBitmapTextContext.cpp |
@@ -68,6 +68,8 @@ void GrBitmapTextContext::flushGlyphs() { |
drawState->setFromPaint(fPaint, SkMatrix::I(), fContext->getRenderTarget()); |
if (fCurrVertex > 0) { |
+ fContext->getFontCache()->updateTextures(); |
+ |
// setup our sampler state for our text texture/atlas |
SkASSERT(SkIsAlign4(fCurrVertex)); |
SkASSERT(fCurrTexture); |