aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpu/batches/GrDrawVerticesBatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrDrawVerticesBatch.cpp')
-rw-r--r--src/gpu/batches/GrDrawVerticesBatch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrDrawVerticesBatch.cpp b/src/gpu/batches/GrDrawVerticesBatch.cpp
index bca7d230bc..f79b6859df 100644
--- a/src/gpu/batches/GrDrawVerticesBatch.cpp
+++ b/src/gpu/batches/GrDrawVerticesBatch.cpp
@@ -134,10 +134,10 @@ void GrDrawVerticesBatch::onPrepareDraws(Target* target) {
return;
}
- const GrIndexBuffer* indexBuffer = NULL;
+ const GrIndexBuffer* indexBuffer = nullptr;
int firstIndex = 0;
- uint16_t* indices = NULL;
+ uint16_t* indices = nullptr;
if (this->hasIndices()) {
indices = target->makeIndexSpace(this->indexCount(), &indexBuffer, &firstIndex);