Index: src/gpu/GrDrawState.cpp |
diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp |
index db70bfaaa2351c6ecb964c103f2f3291c261c1a0..8c2d75f0b502715d2d8d0e25411b08530d1b4671 100644 |
--- a/src/gpu/GrDrawState.cpp |
+++ b/src/gpu/GrDrawState.cpp |
@@ -51,6 +51,10 @@ bool GrDrawState::isEqual(const GrDrawState& that) const { |
return false; |
} |
+ if (!this->getXPFactory()->isEqual(*that.getXPFactory())) { |
+ return false; |
+ } |
+ |
for (int i = 0; i < this->numColorStages(); i++) { |
if (!GrFragmentStage::AreCompatible(this->getColorStage(i), that.getColorStage(i), |
explicitLocalCoords)) { |