Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index 669f21c9be57707f45540acc4ed91707825fcaf3..98873928171757ea701ab557edcbd3935c425ff3 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -303,6 +303,9 @@ private: |
fDefaultVertexArrayBoundIndexBufferID = false; |
fDefaultVertexArrayBoundIndexBufferIDIsValid = false; |
fDefaultVertexArrayAttribState.invalidate(); |
robertphillips
2013/09/09 13:53:33
NULL !=?
bsalomon
2013/09/09 14:11:44
Done.
|
+ if (fVBOVertexArray) { |
+ fVBOVertexArray->invalidateCachedState(); |
+ } |
} |
void notifyVertexArrayDelete(GrGLuint id) { |