projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ecc2ec
)
tnl: fix first provoking vertex bug for line loops
author
Brian Paul
<brianp@vmware.com>
Wed, 3 Jun 2009 23:28:31 +0000
(17:28 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 3 Jun 2009 23:28:31 +0000
(17:28 -0600)
src/mesa/tnl/t_vb_rendertmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vb_rendertmp.h
b/src/mesa/tnl/t_vb_rendertmp.h
index f0da0cdf0deac90875e99382f0a2ffc248fa56e2..05d130906424c72a40c3b2e23ac7cc80cca66778 100644
(file)
--- 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) );
}
}