Index: gm/texdata.cpp |
diff --git a/gm/texdata.cpp b/gm/texdata.cpp |
index 6281825d25c04bf272f823b647241cb2cda8af67..cfb27f6f911a7ff645a432f84d529d4c6625e74e 100644 |
--- a/gm/texdata.cpp |
+++ b/gm/texdata.cpp |
@@ -113,7 +113,7 @@ protected: |
SkMatrix tm; |
tm = vm; |
tm.postIDiv(2*S, 2*S); |
- paint.colorStage(0)->setEffect(GrSimpleTextureEffect::Create(texture, tm))->unref(); |
+ paint.addColorTextureEffect(texture, tm); |
ctx->drawRect(paint, GrRect::MakeWH(2*S, 2*S)); |