Index: src/gpu/gl/GrGLIndexBuffer.h |
diff --git a/src/gpu/gl/GrGLIndexBuffer.h b/src/gpu/gl/GrGLIndexBuffer.h |
index 62abb0c343ff3133d655af9e898fcc4d0b564cf4..628970a0fa4d1089581af2b787b8a21ba1ef4275 100644 |
--- a/src/gpu/gl/GrGLIndexBuffer.h |
+++ b/src/gpu/gl/GrGLIndexBuffer.h |
@@ -24,12 +24,6 @@ public: |
GrGLuint bufferID() const { return fImpl.bufferID(); } |
size_t baseOffset() const { return fImpl.baseOffset(); } |
- void bind() const { |
- if (!this->wasDestroyed()) { |
- fImpl.bind(this->getGpuGL()); |
- } |
- } |
- |
protected: |
void onAbandon() override; |
void onRelease() override; |