Index: src/gpu/gl/GrGLVertexArray.cpp |
diff --git a/src/gpu/gl/GrGLVertexArray.cpp b/src/gpu/gl/GrGLVertexArray.cpp |
index d49846db559238d500e99826b0efbfbe5bd53048..564a91a1b64451b340a3d24c5c22368cadf227b2 100644 |
--- a/src/gpu/gl/GrGLVertexArray.cpp |
+++ b/src/gpu/gl/GrGLVertexArray.cpp |
@@ -117,7 +117,7 @@ GrGLAttribArrayState* GrGLVertexArray::bind(GrGLGpu* gpu) { |
GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, GrGLuint ibufferID) { |
GrGLAttribArrayState* state = this->bind(gpu); |
if (state) { |
- if (!fIndexBufferIDIsValid || ibufferID != fIndexBufferID) { |
+ if (!fIndexBufferIDIsValid || ibufferID != fIndexBufferID) { |
GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, ibufferID)); |
fIndexBufferIDIsValid = true; |
fIndexBufferID = ibufferID; |