Index: src/effects/SkBitmapAlphaThresholdShader.cpp |
=================================================================== |
--- src/effects/SkBitmapAlphaThresholdShader.cpp (revision 12054) |
+++ src/effects/SkBitmapAlphaThresholdShader.cpp (working copy) |
@@ -241,7 +241,7 @@ |
grPaint.setBlendFunc(kOne_GrBlendCoeff, kZero_GrBlendCoeff); |
SkRegion::Iterator iter(fRegion); |
context->setRenderTarget(maskTexture->asRenderTarget()); |
- context->clear(NULL, 0x0); |
+ context->clear(NULL, 0x0, true); |
// offset to ensure border is zero on top/left |
SkMatrix matrix; |