Index: gm/texturedomaineffect.cpp |
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp |
index a2dc4b01b8485023665094da3a3e24b8d912e81b..3eaba9080628fa6cba1490b57fdb66f681e285a6 100644 |
--- a/gm/texturedomaineffect.cpp |
+++ b/gm/texturedomaineffect.cpp |
@@ -117,6 +117,8 @@ protected: |
for (int m = 0; m < GrTextureDomain::kModeCount; ++m) { |
GrTextureDomain::Mode mode = (GrTextureDomain::Mode) m; |
GrPipelineBuilder pipelineBuilder; |
+ pipelineBuilder.setXPFactory( |
+ GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode))->unref(); |
SkAutoTUnref<const GrFragmentProcessor> fp( |
GrTextureDomainEffect::Create(texture, textureMatrices[tm], |
GrTextureDomain::MakeTexelDomain(texture, |