Index: src/effects/SkLightingImageFilter.cpp |
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp |
index 4bb755e3edddeadff2858c8ddd0ac79a3fb1955f..9b6a20f0efb05061ca547dfde5df1c0b919e89f4 100644 |
--- a/src/effects/SkLightingImageFilter.cpp |
+++ b/src/effects/SkLightingImageFilter.cpp |
@@ -354,6 +354,7 @@ void SkLightingImageFilterInternal::drawRect(GrDrawContext* drawContext, |
GrPaint paint; |
GrFragmentProcessor* fp = this->getFragmentProcessor(src, matrix, bounds, boundaryMode); |
paint.addColorFragmentProcessor(fp)->unref(); |
+ paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
drawContext->fillRectToRect(clip, paint, SkMatrix::I(), dstRect, srcRect); |
} |