Index: gm/texdata.cpp |
diff --git a/gm/texdata.cpp b/gm/texdata.cpp |
index 56dfd24ed00151b422294af380bc6c1bf31fd47b..efe8c4d7304c33e7f5bcf717782f4b4f34881ee6 100644 |
--- a/gm/texdata.cpp |
+++ b/gm/texdata.cpp |
@@ -12,9 +12,8 @@ |
#if SK_SUPPORT_GPU |
#include "GrContext.h" |
+#include "effects/GrSimpleTextureEffect.h" |
#include "SkColorPriv.h" |
-#include "effects/GrPorterDuffXferProcessor.h" |
-#include "effects/GrSimpleTextureEffect.h" |
namespace skiagm { |
@@ -99,8 +98,7 @@ |
ctx->setRenderTarget(target); |
GrPaint paint; |
- paint.setPorterDuffXPFactory(SkXfermode::kSrcOver_Mode); |
- |
+ paint.setBlendFunc(kOne_GrBlendCoeff, kISA_GrBlendCoeff); |
SkMatrix vm; |
if (i) { |
vm.setRotate(90 * SK_Scalar1, |