projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e94e9b
)
front/back-face determination was wrong
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 12 Jul 2007 17:59:43 +0000
(11:59 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 12 Jul 2007 17:59:43 +0000
(11:59 -0600)
src/mesa/pipe/draw/draw_twoside.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/draw/draw_twoside.c
b/src/mesa/pipe/draw/draw_twoside.c
index 88e164ec5eb76118bc86b0c12b4f42709fbb938c..e8221639bb876f6c145175642405f939312673df 100644
(file)
--- a/
src/mesa/pipe/draw/draw_twoside.c
+++ b/
src/mesa/pipe/draw/draw_twoside.c
@@
-51,7
+51,7
@@
static void twoside_begin( struct prim_stage *stage )
{
struct twoside_stage *twoside = twoside_stage(stage);
- twoside->facing = (stage->draw->setup.front_winding == PIPE_WINDING_CW) ?
-1 :
1;
+ twoside->facing = (stage->draw->setup.front_winding == PIPE_WINDING_CW) ?
1 : -
1;
stage->next->begin( stage->next );
}