Index: src/gpu/gl/GrGLVertexBuffer.cpp |
diff --git a/src/gpu/gl/GrGLVertexBuffer.cpp b/src/gpu/gl/GrGLVertexBuffer.cpp |
index a13ad126ecc8343260a8b3068fd72a64a0b77e42..d6b630191c483b04da2f93d6d1bc3d8a9c1df635 100644 |
--- a/src/gpu/gl/GrGLVertexBuffer.cpp |
+++ b/src/gpu/gl/GrGLVertexBuffer.cpp |
@@ -11,6 +11,7 @@ |
GrGLVertexBuffer::GrGLVertexBuffer(GrGpuGL* gpu, const Desc& desc) |
: INHERITED(gpu, desc.fIsWrapped, desc.fSizeInBytes, desc.fDynamic, 0 == desc.fID) |
, fImpl(gpu, desc, GR_GL_ARRAY_BUFFER) { |
+ this->registerWithCache(); |
} |
void GrGLVertexBuffer::onRelease() { |