Index: src/gpu/GrTextContext.cpp |
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp |
index 65c5c7a1fa7f37e31727cecb297d7d4e7a528e73..c929d0c56c53932d1e09f39f96a21d9a32edfb3e 100644 |
--- a/src/gpu/GrTextContext.cpp |
+++ b/src/gpu/GrTextContext.cpp |
@@ -43,7 +43,7 @@ void GrTextContext::flushGlyphs() { |
if (!GrPixelConfigIsAlphaOnly(fCurrTexture->config())) { |
if (kOne_GrBlendCoeff != fPaint.getSrcBlendCoeff() || |
kISA_GrBlendCoeff != fPaint.getDstBlendCoeff() || |
- fPaint.hasColorStage()) { |
+ fPaint.numColorStages()) { |
GrPrintf("LCD Text will not draw correctly.\n"); |
} |
// setup blend so that we get mask * paintColor + (1-mask)*dstColor |