| Index: src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp
|
| diff --git a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp
|
| index 13267fd7e25b24dc1051df1ab25c034d0ca6e77a..57b19f6c4ab1e6740f83bceb3018d0146e23c660 100644
|
| --- a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp
|
| +++ b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp
|
| @@ -183,7 +183,7 @@ private:
|
| return;
|
| }
|
| memcpy(idxs, indices, indexCount * sizeof(uint16_t));
|
| - info.initIndexed(kTriangles_GrPrimitiveType, vertexBuffer, indexBuffer, firstVertex,
|
| + info.initIndexed(vertexBuffer, indexBuffer, firstVertex,
|
| firstIndex, vertexCount, indexCount);
|
| target->draw(info);
|
| }
|
| @@ -201,7 +201,7 @@ private:
|
| return;
|
| }
|
|
|
| - target->initDraw(gp, this->pipeline());
|
| + target->initDraw(gp, kTriangles_GrPrimitiveType);
|
|
|
| size_t vertexStride = gp->getVertexStride();
|
|
|
|
|