diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrTessellator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTessellator.cpp b/src/gpu/GrTessellator.cpp index 609b10c89b..80a813f802 100644 --- a/src/gpu/GrTessellator.cpp +++ b/src/gpu/GrTessellator.cpp @@ -793,7 +793,7 @@ void insert_edge(Edge* edge, Edge* prev, EdgeList* edges) { } void find_enclosing_edges(Vertex* v, EdgeList* edges, Edge** left, Edge** right) { - if (v->fFirstEdgeAbove) { + if (v->fFirstEdgeAbove && v->fLastEdgeAbove) { *left = v->fFirstEdgeAbove->fLeft; *right = v->fLastEdgeAbove->fRight; return; |