projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9205a87
)
draw: use flatfirst variable
author
Brian Paul
<brianp@vmware.com>
Fri, 19 Jun 2009 05:00:37 +0000
(23:00 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 19 Jun 2009 05:00:37 +0000
(23:00 -0600)
src/gallium/auxiliary/draw/draw_pt_decompose.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pt_decompose.h
b/src/gallium/auxiliary/draw/draw_pt_decompose.h
index 8e1d60e9ce350da6fba5be55bf1149104a2ed667..4ca5b520204673b252c126584c09dd8e2beb6136 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pt_decompose.h
+++ b/
src/gallium/auxiliary/draw/draw_pt_decompose.h
@@
-47,7
+47,7
@@
static void FUNC( ARGS,
case PIPE_PRIM_TRIANGLES:
for (i = 0; i+2 < count; i += 3) {
- if (
draw->rasterizer->flatshade_
first) {
+ if (
flat
first) {
/* put provoking vertex in last pos for clipper */
TRIANGLE( DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL,
(i + 1),