Index: src/gpu/GrBatchTarget.h |
diff --git a/src/gpu/GrBatchTarget.h b/src/gpu/GrBatchTarget.h |
index ff9208fdac247452258555136786d6a5b3f86e5b..29494700641d537e9d977151c6d8ec29d8ff35ed 100644 |
--- a/src/gpu/GrBatchTarget.h |
+++ b/src/gpu/GrBatchTarget.h |
@@ -81,6 +81,8 @@ public: |
GrVertexBufferAllocPool* vertexPool() { return fVertexPool; } |
GrIndexBufferAllocPool* indexPool() { return fIndexPool; } |
+ const GrIndexBuffer* quadIndexBuffer() const { return fGpu->getQuadIndexBuffer(); } |
+ |
private: |
GrGpu* fGpu; |
GrVertexBufferAllocPool* fVertexPool; |