Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index abac24cf3fa145044f11f32e307bde1fbfb28a2b..6a3286ed67475510be347379142f35d8084cc5df 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -377,6 +377,7 @@ bool SkImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const Cont |
if (this->asFragmentProcessor(&fp, srcTexture, matrix, bounds)) { |
SkASSERT(fp); |
paint.addColorFragmentProcessor(fp)->unref(); |
+ paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(dst->asRenderTarget())); |
if (drawContext) { |