Index: src/gpu/GrBitmapTextContext.cpp |
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp |
index 94b2770b23c6c90c02d67bfd519cd3d26ccda60e..fdf96002bd676e55260da1965c0e06e6a1772f5d 100755 |
--- a/src/gpu/GrBitmapTextContext.cpp |
+++ b/src/gpu/GrBitmapTextContext.cpp |
@@ -528,7 +528,7 @@ void GrBitmapTextContext::flush() { |
if (fCurrVertex > 0) { |
GrDrawState drawState; |
- drawState.setFromPaint(fPaint, SkMatrix::I(), fContext->getRenderTarget()); |
+ drawState.setFromPaint(fPaint, fContext->getRenderTarget()); |
// setup our sampler state for our text texture/atlas |
SkASSERT(SkIsAlign4(fCurrVertex)); |
@@ -566,7 +566,7 @@ void GrBitmapTextContext::flush() { |
if (textureUniqueID != fEffectTextureUniqueID || |
fCachedGeometryProcessor->color() != color) { |
uint32_t flags = GrDefaultGeoProcFactory::kLocalCoord_GPType; |
- fCachedGeometryProcessor.reset(GrDefaultGeoProcFactory::Create(color, flags)); |
+ fCachedGeometryProcessor.reset(GrDefaultGeoProcFactory::Create(flags, color)); |
fCachedTextureProcessor.reset(GrSimpleTextureEffect::Create(fCurrTexture, |
SkMatrix::I(), |
params)); |