From: Brian Date: Thu, 12 Jul 2007 17:59:43 +0000 (-0600) Subject: front/back-face determination was wrong X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd5533bb7c90d8da06f6a1c38bdc84bb607c5b85;p=mesa.git front/back-face determination was wrong --- 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 ); }