Index: src/gpu/GrRODrawState.cpp |
diff --git a/src/gpu/GrRODrawState.cpp b/src/gpu/GrRODrawState.cpp |
index f6a235517a1f79e26024d92f0f7f1c2cc1778132..2f02482258f841b52f1d0fa6a8b945ff95495ada 100644 |
--- a/src/gpu/GrRODrawState.cpp |
+++ b/src/gpu/GrRODrawState.cpp |
@@ -40,14 +40,14 @@ bool GrRODrawState::isEqual(const GrRODrawState& that) const { |
bool explicitLocalCoords = this->hasLocalCoordAttribute(); |
if (this->hasGeometryProcessor()) { |
if (!that.hasGeometryProcessor()) { |
- return kIncompatible_CombinedState; |
+ return false; |
} else if (!GrEffectStage::AreCompatible(*this->getGeometryProcessor(), |
*that.getGeometryProcessor(), |
explicitLocalCoords)) { |
- return kIncompatible_CombinedState; |
+ return false; |
} |
} else if (that.hasGeometryProcessor()) { |
- return kIncompatible_CombinedState; |
+ return false; |
} |
for (int i = 0; i < this->numColorStages(); i++) { |