aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrDrawVerticesOp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ops/GrDrawVerticesOp.h')
-rw-r--r--src/gpu/ops/GrDrawVerticesOp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrDrawVerticesOp.h b/src/gpu/ops/GrDrawVerticesOp.h
index c837734798..eddf20185b 100644
--- a/src/gpu/ops/GrDrawVerticesOp.h
+++ b/src/gpu/ops/GrDrawVerticesOp.h
@@ -97,7 +97,7 @@ private:
bool isIndexed() const {
// Consistency enforced in onCombineIfPossible.
- return fMeshes[0].fVertices->isIndexed();
+ return fMeshes[0].fVertices->hasIndices();
}
bool requiresPerVertexColors() const {