From bd5533bb7c90d8da06f6a1c38bdc84bb607c5b85 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 12 Jul 2007 11:59:43 -0600 Subject: [PATCH] front/back-face determination was wrong --- src/mesa/pipe/draw/draw_twoside.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/pipe/draw/draw_twoside.c b/src/mesa/pipe/draw/draw_twoside.c index 88e164ec5eb..e8221639bb8 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 ); } -- 2.30.2