Index: src/gpu/batches/GrDefaultPathRenderer.cpp |
diff --git a/src/gpu/batches/GrDefaultPathRenderer.cpp b/src/gpu/batches/GrDefaultPathRenderer.cpp |
index cda522efd087d2514c96378d397c5dd5d0d0890c..94508b130b4fcc05198bab77955c7e878f816bb4 100644 |
--- a/src/gpu/batches/GrDefaultPathRenderer.cpp |
+++ b/src/gpu/batches/GrDefaultPathRenderer.cpp |
@@ -269,8 +269,6 @@ private: |
size_t vertexStride = gp->getVertexStride(); |
SkASSERT(vertexStride == sizeof(SkPoint)); |
- target->initDraw(gp); |
- |
int instanceCount = fGeoData.count(); |
// compute number of vertices |
@@ -369,7 +367,7 @@ private: |
} else { |
mesh.init(primitiveType, vertexBuffer, firstVertex, vertexOffset); |
} |
- target->draw(mesh); |
+ target->draw(gp, mesh); |
// put back reserves |
target->putBackIndices((size_t)(maxIndices - indexOffset)); |