Index: src/gpu/GrDistanceFieldTextContext.cpp |
diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp |
index e10fa4fe7b85975b28c05e32016267165d570b15..9fa0c1d7b8780e0c73eb9c4040afdc11fc2cc0c7 100755 |
--- a/src/gpu/GrDistanceFieldTextContext.cpp |
+++ b/src/gpu/GrDistanceFieldTextContext.cpp |
@@ -487,6 +487,9 @@ void GrDistanceFieldTextContext::appendGlyph(GrGlyph::PackedID packed, |
glyph->fPath = path; |
} |
+ // flush any accumulated draws before drawing this glyph as a path. |
+ this->flush(); |
+ |
GrContext::AutoMatrix am; |
SkMatrix ctm; |
ctm.setScale(fTextRatio, fTextRatio); |