| Index: src/gpu/GrBitmapTextContext.cpp
|
| diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp
|
| index 5d8b98a33a0742e59707d2b41c33f37a90401edf..5884ebeb7766b97bd29867d86a85f5074eafa412 100755
|
| --- a/src/gpu/GrBitmapTextContext.cpp
|
| +++ b/src/gpu/GrBitmapTextContext.cpp
|
| @@ -575,7 +575,6 @@ void GrBitmapTextContext::flush() {
|
| SkMatrix::I(),
|
| params));
|
| }
|
| - drawState.setGeometryProcessor(fCachedGeometryProcessor.get());
|
| drawState.addColorProcessor(fCachedTextureProcessor.get());
|
| } else {
|
| uint32_t textureUniqueID = fCurrTexture->getUniqueID();
|
| @@ -588,12 +587,12 @@ void GrBitmapTextContext::flush() {
|
| hasColor));
|
| fEffectTextureUniqueID = textureUniqueID;
|
| }
|
| - drawState.setGeometryProcessor(fCachedGeometryProcessor.get());
|
| }
|
|
|
| int nGlyphs = fCurrVertex / kVerticesPerGlyph;
|
| fDrawTarget->setIndexSourceToBuffer(fContext->getQuadIndexBuffer());
|
| fDrawTarget->drawIndexedInstances(&drawState,
|
| + fCachedGeometryProcessor.get(),
|
| kTriangles_GrPrimitiveType,
|
| nGlyphs,
|
| kVerticesPerGlyph,
|
|
|