| Index: src/gpu/batches/GrTInstanceBatch.h
|
| diff --git a/src/gpu/batches/GrTInstanceBatch.h b/src/gpu/batches/GrTInstanceBatch.h
|
| index fdd0662d069fd432e5852533a486c2d460444868..2dac4d05b3224aca6dbddbf3def5dc904ebb3efe 100644
|
| --- a/src/gpu/batches/GrTInstanceBatch.h
|
| +++ b/src/gpu/batches/GrTInstanceBatch.h
|
| @@ -96,8 +96,6 @@ private:
|
| return;
|
| }
|
|
|
| - target->initDraw(gp);
|
| -
|
| size_t vertexStride = gp->getVertexStride();
|
| int instanceCount = fGeoData.count();
|
|
|
| @@ -117,7 +115,7 @@ private:
|
| i * Impl::kVertsPerInstance * vertexStride;
|
| Impl::Tesselate(verts, vertexStride, fGeoData[i], fOverrides);
|
| }
|
| - helper.recordDraw(target);
|
| + helper.recordDraw(target, gp);
|
| }
|
|
|
| const Geometry& seedGeometry() const { return fGeoData[0]; }
|
|
|