summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-12 11:59:43 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-12 11:59:43 -0600
commitbd5533bb7c90d8da06f6a1c38bdc84bb607c5b85 (patch)
tree55379ffdcecdfc91dfe74dc13e510c73021f465c /src/mesa
parent9e94e9b7980b08038d7d4c6b76b8f184d70ba163 (diff)
front/back-face determination was wrong
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/draw/draw_twoside.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_twoside.c b/src/mesa/pipe/draw/draw_twoside.c
index 88e164ec5e..e8221639bb 100644
--- 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 );
}