projects
/
profile
/
ivi
/
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
05d1309
..
7f73033
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) {