From 3809bab7ed344ad140346c38e149dabf10bd525f Mon Sep 17 00:00:00 2001 From: Chris Dalton Date: Tue, 13 Jun 2017 10:55:06 -0600 Subject: Add GrPrimitiveType::kLinesAdjacency Converts GrPrimitiveType to an enum class and adds kLinesAdjacency. Bug: skia: Change-Id: I3b5e68acfb20476f6c6923968f5a4ac4f73ae12d Reviewed-on: https://skia-review.googlesource.com/19680 Reviewed-by: Brian Salomon Commit-Queue: Chris Dalton --- src/gpu/GrResourceProvider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/GrResourceProvider.h') diff --git a/src/gpu/GrResourceProvider.h b/src/gpu/GrResourceProvider.h index 1e0146ab07..c2cb6dce9d 100644 --- a/src/gpu/GrResourceProvider.h +++ b/src/gpu/GrResourceProvider.h @@ -138,7 +138,7 @@ public: * Returns an index buffer that can be used to render quads. * Six indices per quad: 0, 1, 2, 0, 2, 3, etc. * The max number of quads is the buffer's index capacity divided by 6. - * Draw with kTriangles_GrPrimitiveType + * Draw with GrPrimitiveType::kTriangles * @ return the quad index buffer */ const GrBuffer* refQuadIndexBuffer() { -- cgit v1.2.3