aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/OnFlushCallbackTest.cpp
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2017-06-13 10:55:06 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-13 18:18:23 +0000
commit3809bab7ed344ad140346c38e149dabf10bd525f (patch)
tree4bd274cb01c35b8f996bbb113df5cf684d6b48a7 /tests/OnFlushCallbackTest.cpp
parentf1debdf2b065cd3ec5f4501d84152366442719c4 (diff)
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 <bsalomon@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'tests/OnFlushCallbackTest.cpp')
-rw-r--r--tests/OnFlushCallbackTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/OnFlushCallbackTest.cpp b/tests/OnFlushCallbackTest.cpp
index f8026e816a..f8198687cb 100644
--- a/tests/OnFlushCallbackTest.cpp
+++ b/tests/OnFlushCallbackTest.cpp
@@ -144,7 +144,7 @@ private:
}
}
- GrMesh mesh(kTriangles_GrPrimitiveType);
+ GrMesh mesh(GrPrimitiveType::kTriangles);
mesh.setIndexed(indexBuffer, 6, firstIndex, 0, 3);
mesh.setVertexData(vertexBuffer, firstVertex);