aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-04 20:32:58 +0000
committerGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-04 20:32:58 +0000
commitd1af237d7d52e23bc08ccaf73eddaadddeab6758 (patch)
treea9949899a1af8f1c11106e8d6dbb34d4af505f1d
parent30df03ce784868b5920ed385e6e516b132606f37 (diff)
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@11090 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/gpu/effects/GrBicubicEffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp
index 9a38f67860..1eb1fc25ae 100644
--- a/src/gpu/effects/GrBicubicEffect.cpp
+++ b/src/gpu/effects/GrBicubicEffect.cpp
@@ -149,7 +149,7 @@ const GrBackendEffectFactory& GrBicubicEffect::getFactory() const {
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);
}