Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index 669f21c9be57707f45540acc4ed91707825fcaf3..95ae7265f91fb3bf166f35a0e99e49f4584d6c01 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -303,6 +303,9 @@ private: |
fDefaultVertexArrayBoundIndexBufferID = false; |
fDefaultVertexArrayBoundIndexBufferIDIsValid = false; |
fDefaultVertexArrayAttribState.invalidate(); |
+ if (NULL != fVBOVertexArray) { |
+ fVBOVertexArray->invalidateCachedState(); |
+ } |
} |
void notifyVertexArrayDelete(GrGLuint id) { |