Index: src/gpu/GrTextureParamsAdjuster.cpp |
diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp |
index 1a751ab73c7a6f51be05d98b4f838e0c081aa02d..09285579c16a90ed7770836c6fb999a84bbff74f 100644 |
--- a/src/gpu/GrTextureParamsAdjuster.cpp |
+++ b/src/gpu/GrTextureParamsAdjuster.cpp |
@@ -97,6 +97,7 @@ static GrTexture* copy_on_gpu(GrTexture* inputTexture, const SkIRect* subset, |
GrTextureParams params(SkShader::kClamp_TileMode, copyParams.fFilter); |
paint.addColorTextureProcessor(inputTexture, SkMatrix::I(), params); |
} |
+ paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
SkRect localRect; |
if (subset) { |