From e36f561ec0636f5624beab137b2deade05db81b6 Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Sat, 15 Sep 2018 17:41:58 +0100 Subject: [PATCH] Improve check --- GL/clip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GL/clip.c b/GL/clip.c index e490512..4216577 100644 --- a/GL/clip.c +++ b/GL/clip.c @@ -182,7 +182,7 @@ void clipTriangleStrip2(AlignedVector* vertices, uint32_t offset, uint8_t fladeS ClipVertex* v3 = vertex; /* Skip ahead if we don't have a complete triangle yet */ - if(v1->flags == VERTEX_CMD_EOL || v2->flags == VERTEX_CMD_EOL) { + if(v1->flags != VERTEX_CMD || v2->flags != VERTEX_CMD) { triangle = -1; continue; }