Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 474040379f1be443f2aad83ae8c5c3dff9323b08..96380bdfe66995a73532acbd8999a279507673d4 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1753,7 +1753,7 @@ GrDrawTarget* GrContext::prepareToDraw(const GrPaint* paint, |
fDrawState->setFromPaint(*paint, fViewMatrix, fRenderTarget.get()); |
#if GR_DEBUG_PARTIAL_COVERAGE_CHECK |
if ((paint->hasMask() || 0xff != paint->fCoverage) && |
- !fGpu->canApplyCoverage()) { |
+ !fDrawState->couldApplyCoverage(fGpu->caps())) { |
GrPrintf("Partial pixel coverage will be incorrectly blended.\n"); |
} |
#endif |