Index: src/gpu/gl/GrGLVertexArray.cpp |
diff --git a/src/gpu/gl/GrGLVertexArray.cpp b/src/gpu/gl/GrGLVertexArray.cpp |
index 66feb820530a06f297984245b998a7c65c2c8949..39fd48cb89e308dde363e6abc41e1709e18bbc62 100644 |
--- a/src/gpu/gl/GrGLVertexArray.cpp |
+++ b/src/gpu/gl/GrGLVertexArray.cpp |
@@ -73,6 +73,7 @@ GrGLVertexArray::GrGLVertexArray(GrGpuGL* gpu, GrGLint id, int attribCount) |
, fID(id) |
, fAttribArrays(attribCount) |
, fIndexBufferIDIsValid(false) { |
+ this->registerWithCache(); |
} |
void GrGLVertexArray::onAbandon() { |