Index: gm/yuvtorgbeffect.cpp |
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp |
index 5f7cc1314d717cc0236d82246fcbdb2baeb7d89a..66ade251849364827c594ca58c88c0fc2175bbbc 100644 |
--- a/gm/yuvtorgbeffect.cpp |
+++ b/gm/yuvtorgbeffect.cpp |
@@ -115,6 +115,8 @@ protected: |
for (int i = 0; i < 6; ++i) { |
GrPipelineBuilder pipelineBuilder; |
+ pipelineBuilder.setXPFactory( |
+ GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode))->unref(); |
SkAutoTUnref<GrFragmentProcessor> fp( |
GrYUVtoRGBEffect::Create(texture[indices[i][0]], |
texture[indices[i][1]], |