projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f1aa0c
)
tnl: fix first provoking vertex case for unfilled triangles
author
Brian Paul
<brianp@vmware.com>
Thu, 4 Jun 2009 01:03:27 +0000
(19:03 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 4 Jun 2009 01:03:27 +0000
(19:03 -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 05d130906424c72a40c3b2e23ac7cc80cca66778..7f7303367b7b1a0430a943e33f74b38576a0b77f 100644
(file)
--- 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) {