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