aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'gpu')
-rw-r--r--gpu/src/GrPath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/src/GrPath.cpp b/gpu/src/GrPath.cpp
index 1e5a6cf18b..a740dfc8d3 100644
--- a/gpu/src/GrPath.cpp
+++ b/gpu/src/GrPath.cpp
@@ -173,12 +173,12 @@ void GrPath::resetFromIter(GrPathIter* iter) {
// counts number of sub path pts that didn't add a degenerate edge.
int subPathPts = 0;
+ bool subPathClosed = false;
int numSubPaths = 0;
iter->rewind();
GrPathCmd cmd;
GrPoint pts[4];
- bool subPathClosed;
do {
cmd = iter->next(pts);
// If the convexity test is ever updated to handle multiple subpaths