aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpu/effects/GrTextureDomain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrTextureDomain.h b/src/gpu/effects/GrTextureDomain.h
index 7796afe4c4..577098a4ad 100644
--- a/src/gpu/effects/GrTextureDomain.h
+++ b/src/gpu/effects/GrTextureDomain.h
@@ -68,7 +68,7 @@ public:
}
bool operator== (const GrTextureDomain& that) const {
- return fMode == that.fMode && fDomain == that.fDomain;
+ return fMode == that.fMode && (kIgnore_Mode == fMode || fDomain == that.fDomain);
}
/**