summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-06-03 19:03:27 -0600
committerBrian Paul <brianp@vmware.com>2009-06-03 19:03:27 -0600
commit8b875b732fef0f2e60c53ee7aa60b5988ca37cc5 (patch)
tree2b529e80d4d972d458dddd19ea02e43a2b4fb09b /src/mesa
parent1f1aa0c20cb7dd0ae14b01f89aaa99cc6eebf919 (diff)
tnl: fix first provoking vertex case for unfilled triangles
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_vb_rendertmp.h2
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 05d1309064..7f7303367b 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<count; j+=3) {