Index: src/gpu/GrBatchFlushState.h |
diff --git a/src/gpu/GrBatchFlushState.h b/src/gpu/GrBatchFlushState.h |
index 1f82453c2e5ea3ba527328202660c7cfc825adeb..be9d790597671b242b3aba2f5df94f883bbc9575 100644 |
--- a/src/gpu/GrBatchFlushState.h |
+++ b/src/gpu/GrBatchFlushState.h |
@@ -76,8 +76,8 @@ public: |
GrBatchToken asapToken() const { return fLastFlushedToken + 1; } |
void* makeVertexSpace(size_t vertexSize, int vertexCount, |
- const GrVertexBuffer** buffer, int* startVertex); |
- uint16_t* makeIndexSpace(int indexCount, const GrIndexBuffer** buffer, int* startIndex); |
+ const GrBuffer** buffer, int* startVertex); |
+ uint16_t* makeIndexSpace(int indexCount, const GrBuffer** buffer, int* startIndex); |
/** This is called after each batch has a chance to prepare its draws and before the draws |
are issued. */ |
@@ -172,11 +172,11 @@ public: |
} |
void* makeVertexSpace(size_t vertexSize, int vertexCount, |
- const GrVertexBuffer** buffer, int* startVertex) { |
+ const GrBuffer** buffer, int* startVertex) { |
return this->state()->makeVertexSpace(vertexSize, vertexCount, buffer, startVertex); |
} |
- uint16_t* makeIndexSpace(int indexCount, const GrIndexBuffer** buffer, int* startIndex) { |
+ uint16_t* makeIndexSpace(int indexCount, const GrBuffer** buffer, int* startIndex) { |
return this->state()->makeIndexSpace(indexCount, buffer, startIndex); |
} |