summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-06-03 17:28:31 -0600
committerBrian Paul <brianp@vmware.com>2009-06-03 17:28:31 -0600
commit1f1aa0c20cb7dd0ae14b01f89aaa99cc6eebf919 (patch)
tree071a2807c0ae574b4db82950da99eaf136f8cc4b /src/mesa
parent2ecc2ece9c2740958f303e0426fdc9037c40eb3a (diff)
tnl: fix first provoking vertex bug for line loops
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 f0da0cdf0d..05d1309064 100644
--- a/src/mesa/tnl/t_vb_rendertmp.h
+++ b/src/mesa/tnl/t_vb_rendertmp.h
@@ -148,7 +148,7 @@ static void TAG(render_line_loop)( GLcontext *ctx,
if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
RENDER_LINE( ELT(count-1), ELT(start) );
else
- RENDER_LINE( ELT(count), ELT(start-1) ); /* XXX check this one */
+ RENDER_LINE( ELT(start), ELT(count-1) );
}
}