Index: src/gpu/effects/GrTextureDomain.h |
diff --git a/src/gpu/effects/GrTextureDomain.h b/src/gpu/effects/GrTextureDomain.h |
index 7796afe4c4c0db0e02ce5bd64c9ab7dc418b2ccf..577098a4adeff3c5403ad528d1580ffeabfa5e4a 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); |
} |
/** |