Index: src/gpu/batches/GrDrawAtlasBatch.cpp |
diff --git a/src/gpu/batches/GrDrawAtlasBatch.cpp b/src/gpu/batches/GrDrawAtlasBatch.cpp |
index dab5b4f7c20601483b9ff24e3f9b4aa1fb42a278..a02865f627d41f6ce2278430efa3975398aad499 100644 |
--- a/src/gpu/batches/GrDrawAtlasBatch.cpp |
+++ b/src/gpu/batches/GrDrawAtlasBatch.cpp |
@@ -58,7 +58,7 @@ void GrDrawAtlasBatch::onPrepareDraws(Target* target) const { |
this->viewMatrix(), |
this->coverageIgnored())); |
- target->initDraw(gp, this->pipeline()); |
+ target->initDraw(gp, kTriangles_GrPrimitiveType); |
int instanceCount = fGeoData.count(); |
size_t vertexStride = gp->getVertexStride(); |