Index: src/gpu/GrDrawState.cpp |
diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp |
index 0fd098740c5337dc704014ae86dd81c9673df603..db70bfaaa2351c6ecb964c103f2f3291c261c1a0 100644 |
--- a/src/gpu/GrDrawState.cpp |
+++ b/src/gpu/GrDrawState.cpp |
@@ -116,8 +116,7 @@ void GrDrawState::onReset(const SkMatrix* initialViewMatrix) { |
fRenderTarget.reset(NULL); |
fGeometryProcessor.reset(NULL); |
- fXPFactory.reset(GrPorterDuffXPFactory::Create(kOne_GrBlendCoeff, |
- kZero_GrBlendCoeff)); |
+ fXPFactory.reset(GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode)); |
fColorStages.reset(); |
fCoverageStages.reset(); |