Index: src/gpu/batches/GrTInstanceBatch.h |
diff --git a/src/gpu/batches/GrTInstanceBatch.h b/src/gpu/batches/GrTInstanceBatch.h |
index 726903edd1ffa0fdb4099384c9ec287bba534b92..b85b3aa13def51cf7f0ee8b7d7e4cd5c5dd2a7fc 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]; } |