Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index 326f005e36290310c1685e747d05c3e8507e7056..c3ad87a3b8a23bb91f8b1db54d1e26c98441abc2 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -294,7 +294,7 @@ bool SkAlphaThresholdFilterImpl::asFragmentProcessor(GrFragmentProcessor** fp, |
GrPaint grPaint; |
grPaint.setBlendFunc(kOne_GrBlendCoeff, kZero_GrBlendCoeff); |
SkRegion::Iterator iter(fRegion); |
- context->clear(NULL, 0x0, true); |
+ context->clear(NULL, 0x0, true, maskTexture->asRenderTarget()); |
SkMatrix old_matrix = context->getMatrix(); |
context->setMatrix(in_matrix); |