Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 0463fb08b82dc1ce5b6fa8c70ac1dbc8bac6ce06..25339e613cd1e85f0dfc8925c6fc2c84926c865b 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -449,7 +449,8 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src, |
SkMatrix matrix; |
matrix.setTranslate(-SkIntToScalar(colorBounds.x()), |
-SkIntToScalar(colorBounds.y())); |
- context->drawRect(dst->asRenderTarget(), paint, matrix, SkRect::Make(colorBounds)); |
+ context->drawRect(dst->asRenderTarget(), GrClip::WideOpen(), paint, matrix, |
+ SkRect::Make(colorBounds)); |
offset->fX = bounds.left(); |
offset->fY = bounds.top(); |
WrapTexture(dst, bounds.width(), bounds.height(), result); |