Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index 2749e4d3be0f859606b2f2c75d6658d51652a757..f9b0c5a7ffca5f536c5207711ad58bd2c7491626 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -889,7 +889,7 @@ void AAHairlineBatch::generateGeometry(GrBatchTarget* batchTarget, const GrPipel |
{ |
int linesLeft = lineCount; |
- GrDrawTarget::DrawInfo info; |
+ GrVertices info; |
info.initInstanced(kTriangles_GrPrimitiveType, vertexBuffer, linesIndexBuffer, |
firstVertex, kLineSegNumVertices, kIdxsPerLineSeg, &linesLeft, |
kLineSegsNumInIdxBuffer); |
@@ -945,7 +945,7 @@ void AAHairlineBatch::generateGeometry(GrBatchTarget* batchTarget, const GrPipel |
{ |
int quadsLeft = quadCount; |
- GrDrawTarget::DrawInfo info; |
+ GrVertices info; |
info.initInstanced(kTriangles_GrPrimitiveType, vertexBuffer, quadsIndexBuffer, |
firstVertex, kQuadNumVertices, kIdxsPerQuad, &quadsLeft, |
kQuadsNumInIdxBuffer); |
@@ -969,7 +969,7 @@ void AAHairlineBatch::generateGeometry(GrBatchTarget* batchTarget, const GrPipel |
{ |
int conicsLeft = conicCount; |
- GrDrawTarget::DrawInfo info; |
+ GrVertices info; |
info.initInstanced(kTriangles_GrPrimitiveType, vertexBuffer, quadsIndexBuffer, |
firstVertex, kQuadNumVertices, kIdxsPerQuad, &conicsLeft, |
kQuadsNumInIdxBuffer); |