Index: src/gpu/GrBatchTarget.cpp |
diff --git a/src/gpu/GrBatchTarget.cpp b/src/gpu/GrBatchTarget.cpp |
index 4c24a80c95f1c47cf34262eedf6697da68d3f374..b5293d70c576e9771a10165597d4658f1e1c05ef 100644 |
--- a/src/gpu/GrBatchTarget.cpp |
+++ b/src/gpu/GrBatchTarget.cpp |
@@ -46,10 +46,10 @@ void GrBatchTarget::flushNext(int n) { |
GrGpu::DrawArgs args(primProc, pipeline, &desc, &bf->fBatchTracker); |
- int drawCount = bf->fDraws.count(); |
- const SkSTArray<1, DrawInfo, true>& draws = bf->fDraws; |
+ int drawCount = bf->fVertexDraws.count(); |
+ const SkSTArray<1, GrVertices, true>& vertexDraws = bf->fVertexDraws; |
for (int i = 0; i < drawCount; i++) { |
- fGpu->draw(args, draws[i]); |
+ fGpu->draw(args, vertexDraws[i]); |
} |
} |
} |