Index: src/gpu/batches/GrTessellatingPathRenderer.cpp |
diff --git a/src/gpu/batches/GrTessellatingPathRenderer.cpp b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
index 8185a85e47e4174d36395d393a23e634da68c644..1c1713486736883caa9aa46df77210b4c1e9dd54 100644 |
--- a/src/gpu/batches/GrTessellatingPathRenderer.cpp |
+++ b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
@@ -231,11 +231,9 @@ private: |
GrPrimitiveType primitiveType = TESSELLATOR_WIREFRAME ? kLines_GrPrimitiveType |
: kTriangles_GrPrimitiveType; |
- target->initDraw(gp); |
- |
GrMesh mesh; |
mesh.init(primitiveType, vb, firstVertex, count); |
- target->draw(mesh); |
+ target->draw(gp, mesh); |
} |
bool onCombineIfPossible(GrBatch*, const GrCaps&) override { return false; } |