Index: src/gpu/GrBatch.cpp |
diff --git a/src/gpu/GrBatch.cpp b/src/gpu/GrBatch.cpp |
index 38ab1429a2f87766c3afe192946f7620c6a5128b..7d1c0ae25fb1c14b7a623187a56cc8a38301c69a 100644 |
--- a/src/gpu/GrBatch.cpp |
+++ b/src/gpu/GrBatch.cpp |
@@ -69,7 +69,7 @@ void* GrBatch::InstancedHelper::init(GrBatchTarget* batchTarget, GrPrimitiveType |
size_t ibSize = indexBuffer->gpuMemorySize(); |
fMaxInstancesPerDraw = static_cast<int>(ibSize / (sizeof(uint16_t) * indicesPerInstance)); |
- fDrawInfo.initInstanced(primType, vertexBuffer, indexBuffer, |
+ fVertices.initInstanced(primType, vertexBuffer, indexBuffer, |
firstVertex, verticesPerInstance, indicesPerInstance, &fInstancesRemaining, |
fMaxInstancesPerDraw); |
SkASSERT(fMaxInstancesPerDraw > 0); |