fix the onIsEqual method on the new bicubic effect to consider the texture accesses as well as the textures
git-svn-id: http://skia.googlecode.com/svn/trunk/src@11090 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/effects/GrBicubicEffect.cpp b/gpu/effects/GrBicubicEffect.cpp
index 9a38f67..1eb1fc2 100644
--- a/gpu/effects/GrBicubicEffect.cpp
+++ b/gpu/effects/GrBicubicEffect.cpp
@@ -149,7 +149,7 @@
bool GrBicubicEffect::onIsEqual(const GrEffect& sBase) const {
const GrBicubicEffect& s = CastEffect<GrBicubicEffect>(sBase);
- return this->texture(0) == s.texture(0) &&
+ return this->textureAccess(0) == s.textureAccess(0) &&
!memcmp(fCoefficients, s.coefficients(), 16);
}