aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLVertexBuffer.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-05 18:37:39 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-05 18:37:39 +0000
commitd364554bcfd391c3b6111af8bff963a35ab87ba7 (patch)
tree18e5c6ed646c22b9ca1effcf86b16bb148eb0066 /src/gpu/gl/GrGLVertexBuffer.cpp
parent981b33abc65d968523d78d45e69cb071e8e03e91 (diff)
Enforce calling of inherited onRelease & onAbandon mthds in GrResource-derived classes
Diffstat (limited to 'src/gpu/gl/GrGLVertexBuffer.cpp')
-rw-r--r--src/gpu/gl/GrGLVertexBuffer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLVertexBuffer.cpp b/src/gpu/gl/GrGLVertexBuffer.cpp
index 71ea66df69..7cee29e081 100644
--- a/src/gpu/gl/GrGLVertexBuffer.cpp
+++ b/src/gpu/gl/GrGLVertexBuffer.cpp
@@ -30,11 +30,15 @@ void GrGLVertexBuffer::onRelease() {
GL_CALL(DeleteBuffers(1, &fBufferID));
fBufferID = 0;
}
+
+ INHERITED::onRelease();
}
void GrGLVertexBuffer::onAbandon() {
fBufferID = 0;
fLockPtr = NULL;
+
+ INHERITED::onAbandon();
}
void GrGLVertexBuffer::bind() const {