Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 77d6cb84aa69e2934d0b2c03e2aa7eac29b57aa3..fe918581c421b09ddc3fbe5a0465b60d3c25bce9 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -445,6 +445,7 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src, |
offsetMatrix, |
color, |
colorBM.dimensions()))->unref(); |
+ paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
SkIRect colorBounds = bounds; |
colorBounds.offset(-colorOffset); |
SkMatrix matrix; |