Index: src/gpu/GrTessellatingPathRenderer.cpp |
diff --git a/src/gpu/GrTessellatingPathRenderer.cpp b/src/gpu/GrTessellatingPathRenderer.cpp |
index 5fd1bcd47902563268329e798fbf3b2eea9de43e..7a9c5a7751b35a125cf5b4e700d1ad435e705ee6 100644 |
--- a/src/gpu/GrTessellatingPathRenderer.cpp |
+++ b/src/gpu/GrTessellatingPathRenderer.cpp |
@@ -1459,7 +1459,12 @@ |
GrPrimitiveType primitiveType = WIREFRAME ? kLines_GrPrimitiveType |
: kTriangles_GrPrimitiveType; |
GrDrawTarget::DrawInfo drawInfo; |
- drawInfo.init(primitiveType, vertexBuffer, firstVertex, actualCount); |
+ drawInfo.setPrimitiveType(primitiveType); |
+ drawInfo.setVertexBuffer(vertexBuffer); |
+ drawInfo.setStartVertex(firstVertex); |
+ drawInfo.setVertexCount(actualCount); |
+ drawInfo.setStartIndex(0); |
+ drawInfo.setIndexCount(0); |
batchTarget->draw(drawInfo); |
batchTarget->putBackVertices((size_t)(count - actualCount), stride); |