aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkBitmapAlphaThresholdShader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/SkBitmapAlphaThresholdShader.cpp')
-rw-r--r--src/effects/SkBitmapAlphaThresholdShader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkBitmapAlphaThresholdShader.cpp b/src/effects/SkBitmapAlphaThresholdShader.cpp
index 226b3173e1..05d7ba30d3 100644
--- a/src/effects/SkBitmapAlphaThresholdShader.cpp
+++ b/src/effects/SkBitmapAlphaThresholdShader.cpp
@@ -241,7 +241,7 @@ GrEffectRef* BATShader::asNewEffect(GrContext* context, const SkPaint& paint) co
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;