From ab6508e3993afa35de1472fe8a847427c1749efe Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 3 Jun 2009 19:52:32 -0600 Subject: [PATCH] mesa: fix parity error for tri strips with 1st provoking vertex --- src/mesa/tnl/t_vb_rendertmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/tnl/t_vb_rendertmp.h b/src/mesa/tnl/t_vb_rendertmp.h index 7f7303367b7..29d2fa852c4 100644 --- a/src/mesa/tnl/t_vb_rendertmp.h +++ b/src/mesa/tnl/t_vb_rendertmp.h @@ -226,7 +226,7 @@ static void TAG(render_tri_strip)( GLcontext *ctx, if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) RENDER_TRI( ELT(j-2+parity), ELT(j-1-parity), ELT(j) ); else - RENDER_TRI( ELT(j), ELT(j-2+parity), ELT(j-1-parity) ); + RENDER_TRI( ELT(j-1+parity), ELT(j-parity), ELT(j-2) ); } } POSTFIX; -- 2.30.2