Index: src/gpu/GrRODrawState.cpp |
diff --git a/src/gpu/GrRODrawState.cpp b/src/gpu/GrRODrawState.cpp |
index 1460f57320e48e3c56d87278a96941936f66b333..9118d0dc8dc037af8d5fe1fe3ca7e92cb6c68569 100644 |
--- a/src/gpu/GrRODrawState.cpp |
+++ b/src/gpu/GrRODrawState.cpp |
@@ -25,6 +25,7 @@ bool GrRODrawState::isEqual(const GrRODrawState& that) const { |
this->fBlendConstant != that.fBlendConstant || |
this->fFlagBits != that.fFlagBits || |
this->fVACount != that.fVACount || |
+ this->fVAStride != that.fVAStride || |
memcmp(this->fVAPtr, that.fVAPtr, this->fVACount * sizeof(GrVertexAttrib)) || |
this->fStencilSettings != that.fStencilSettings || |
this->fDrawFace != that.fDrawFace) { |
@@ -50,7 +51,6 @@ bool GrRODrawState::isEqual(const GrRODrawState& that) const { |
} |
} |
- SkASSERT(this->fVertexSize == that.fVertexSize); |
SkASSERT(0 == memcmp(this->fFixedFunctionVertexAttribIndices, |
that.fFixedFunctionVertexAttribIndices, |
sizeof(this->fFixedFunctionVertexAttribIndices))); |