aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrBatch.cpp')
-rw-r--r--src/gpu/GrBatch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrBatch.cpp b/src/gpu/GrBatch.cpp
index 7d1c0ae25f..0655a4cd9d 100644
--- a/src/gpu/GrBatch.cpp
+++ b/src/gpu/GrBatch.cpp
@@ -58,8 +58,8 @@ void* GrBatch::InstancedHelper::init(GrBatchTarget* batchTarget, GrPrimitiveType
const GrVertexBuffer* vertexBuffer;
int firstVertex;
int vertexCount = verticesPerInstance * instancesToDraw;
- void* vertices = batchTarget->vertexPool()->makeSpace(vertexStride, vertexCount, &vertexBuffer,
- &firstVertex);
+ void* vertices = batchTarget->makeVertSpace(vertexStride, vertexCount,
+ &vertexBuffer, &firstVertex);
if (!vertices) {
SkDebugf("Vertices could not be allocated for instanced rendering.");
return NULL;