diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-03 19:52:32 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-03 19:52:32 -0600 |
commit | ab6508e3993afa35de1472fe8a847427c1749efe (patch) | |
tree | 31dedceb80b5f0202c4fa16a129fd433b47909bc | |
parent | 8b875b732fef0f2e60c53ee7aa60b5988ca37cc5 (diff) |
mesa: fix parity error for tri strips with 1st provoking vertex
-rw-r--r-- | src/mesa/tnl/t_vb_rendertmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_rendertmp.h b/src/mesa/tnl/t_vb_rendertmp.h index 7f7303367b..29d2fa852c 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; |