From 68b58c95384dd6c2fd389a5b4bbf8fc468819454 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 17 Jan 2013 16:50:08 +0000 Subject: Remove default implementation of GrEffect::isEqual. Make GrSingleTextureEffect abstract. Review URL: https://codereview.appspot.com/7142049 git-svn-id: http://skia.googlecode.com/svn/trunk@7254 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/texdata.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gm') diff --git a/gm/texdata.cpp b/gm/texdata.cpp index 1f888267ad..da52aade6a 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp @@ -12,7 +12,7 @@ #if SK_SUPPORT_GPU #include "GrContext.h" -#include "effects/GrSingleTextureEffect.h" +#include "effects/GrSimpleTextureEffect.h" #include "SkColorPriv.h" #include "SkDevice.h" @@ -113,7 +113,7 @@ protected: SkMatrix tm; tm = vm; tm.postIDiv(2*S, 2*S); - paint.colorStage(0)->setEffect(GrSingleTextureEffect::Create(texture, tm))->unref(); + paint.colorStage(0)->setEffect(GrSimpleTextureEffect::Create(texture, tm))->unref(); ctx->drawRect(paint, GrRect::MakeWH(2*S, 2*S)); -- cgit v1.2.3