From 8101e43e90c087ab35f8d602bc3c163802a1968e Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Wed, 13 Mar 2019 15:19:28 +0000 Subject: [PATCH] Fix winding issue --- GL/draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GL/draw.c b/GL/draw.c index 90e807a..844149b 100644 --- a/GL/draw.c +++ b/GL/draw.c @@ -888,8 +888,8 @@ static void genArraysTriangleFan(ClipVertex* output, GLuint count) { for(; i < count; ++i) { output[target++] = *first; - output[target++] = buffer[i]; - output[target] = buffer[i - 1]; + output[target++] = buffer[i - 1]; + output[target] = buffer[i]; output[target++].flags = PVR_CMD_VERTEX_EOL; } }