diff options
Diffstat (limited to 'src/gpu/GrVertices.h')
-rw-r--r-- | src/gpu/GrVertices.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrVertices.h b/src/gpu/GrVertices.h index 10b2679da4..03ede07d15 100644 --- a/src/gpu/GrVertices.h +++ b/src/gpu/GrVertices.h @@ -53,7 +53,7 @@ public: SkASSERT(startVertex >= 0); fPrimitiveType = primType; fVertexBuffer.reset(vertexBuffer); - fIndexBuffer.reset(NULL); + fIndexBuffer.reset(nullptr); fStartVertex = startVertex; fStartIndex = 0; fVertexCount = vertexCount; @@ -154,7 +154,7 @@ public: const GrNonInstancedVertices* next() { if (!fInstancesRemaining) { - return NULL; + return nullptr; } fInstanceBatch.fStartVertex += fInstanceBatch.fVertexCount; int instances = SkTMin(fInstancesRemaining, fVertices->fMaxInstancesPerDraw); |