aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTessellator.cpp
diff options
context:
space:
mode:
authorGravatar Stephen White <senorblanco@chromium.org>2017-01-09 13:11:18 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-09 18:47:48 +0000
commit2e2cb9bc768bd13e1beeafc9acf8b8f19bea3215 (patch)
treee006e542e61366cec0c29ec1d35ae565cd205b3b /src/gpu/GrTessellator.cpp
parent92d2edabac89fbc8bcb83ea7baab81fdb6fa062b (diff)
GrTessellator: fix compile when LOGGING_ENABLED.
BUG=skia: Change-Id: I1f0df58ffe79e439f92a8c1cd3c39812c32d039f Reviewed-on: https://skia-review.googlesource.com/6743 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Stephan White <senorblanco@chromium.org>
Diffstat (limited to 'src/gpu/GrTessellator.cpp')
-rw-r--r--src/gpu/GrTessellator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTessellator.cpp b/src/gpu/GrTessellator.cpp
index bedc10f62b..5a60e7a14a 100644
--- a/src/gpu/GrTessellator.cpp
+++ b/src/gpu/GrTessellator.cpp
@@ -1661,7 +1661,7 @@ void sort_and_simplify(VertexList* vertices, Comparator& c, SkChunkAlloc& alloc)
merge_sort(vertices, c);
merge_coincident_vertices(vertices, c, alloc);
#if LOGGING_ENABLED
- for (Vertex* v = *vertices; v != nullptr; v = v->fNext) {
+ for (Vertex* v = vertices->fHead; v != nullptr; v = v->fNext) {
static float gID = 0.0f;
v->fID = gID++;
}