Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index f2ed17c135f9d38cb866e703029e5eea571dd963..3d79118b7b9f77373fd3004e7ed965a218963684 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -431,6 +431,8 @@ void GrDrawTarget::clear(const SkIRect* rect, |
} |
GrPipelineBuilder pipelineBuilder; |
+ pipelineBuilder.setXPFactory( |
+ GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode))->unref(); |
pipelineBuilder.setRenderTarget(renderTarget); |
this->drawNonAARect(pipelineBuilder, color, SkMatrix::I(), *rect); |