From 8b875b732fef0f2e60c53ee7aa60b5988ca37cc5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 3 Jun 2009 19:03:27 -0600 Subject: [PATCH] tnl: fix first provoking vertex case for unfilled triangles --- 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 05d13090642..7f7303367b7 100644 --- a/src/mesa/tnl/t_vb_rendertmp.h +++ b/src/mesa/tnl/t_vb_rendertmp.h @@ -174,7 +174,7 @@ static void TAG(render_triangles)( GLcontext *ctx, if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) RENDER_TRI( ELT(j-2), ELT(j-1), ELT(j) ); else - RENDER_TRI( ELT(j), ELT(j-2), ELT(j-1) ); + RENDER_TRI( ELT(j-1), ELT(j), ELT(j-2) ); } } else { for (j=start+2; j