Index: src/gpu/GrRODrawState.cpp |
diff --git a/src/gpu/GrRODrawState.cpp b/src/gpu/GrRODrawState.cpp |
index 9118d0dc8dc037af8d5fe1fe3ca7e92cb6c68569..1460f57320e48e3c56d87278a96941936f66b333 100644 |
--- a/src/gpu/GrRODrawState.cpp |
+++ b/src/gpu/GrRODrawState.cpp |
@@ -25,7 +25,6 @@ |
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) { |
@@ -51,6 +50,7 @@ |
} |
} |
+ SkASSERT(this->fVertexSize == that.fVertexSize); |
SkASSERT(0 == memcmp(this->fFixedFunctionVertexAttribIndices, |
that.fFixedFunctionVertexAttribIndices, |
sizeof(this->fFixedFunctionVertexAttribIndices))); |