diff options
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.cpp')
-rw-r--r-- | src/gpu/GrInOrderDrawBuffer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp index 1cd04d9e1b..8c8fbfc4ce 100644 --- a/src/gpu/GrInOrderDrawBuffer.cpp +++ b/src/gpu/GrInOrderDrawBuffer.cpp @@ -567,9 +567,8 @@ void GrInOrderDrawBuffer::initCopySurfaceDstDesc(const GrSurface* src, GrTexture fDstGpu->initCopySurfaceDstDesc(src, desc); } -void GrInOrderDrawBuffer::willReserveVertexAndIndexSpace( - int vertexCount, - int indexCount) { +void GrInOrderDrawBuffer::willReserveVertexAndIndexSpace(int vertexCount, + int indexCount) { // We use geometryHints() to know whether to flush the draw buffer. We // can't flush if we are inside an unbalanced pushGeometrySource. // Moreover, flushing blows away vertex and index data that was |