From: Brian Date: Tue, 16 Oct 2007 23:59:24 +0000 (-0600) Subject: front/back determination was wrong X-Git-Tag: 062012170305~17580^2~390^2~3851 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=495961716430b1ff99078abe1a7ac9bc07dd6116;p=profile%2Fivi%2Fmesa.git front/back determination was wrong --- diff --git a/src/mesa/pipe/draw/draw_unfilled.c b/src/mesa/pipe/draw/draw_unfilled.c index 2d37432..6cab086 100644 --- a/src/mesa/pipe/draw/draw_unfilled.c +++ b/src/mesa/pipe/draw/draw_unfilled.c @@ -125,7 +125,7 @@ static void unfilled_tri( struct draw_stage *stage, struct prim_header *header ) { struct unfilled_stage *unfilled = unfilled_stage(stage); - unsigned mode = unfilled->mode[header->det < 0.0]; + unsigned mode = unfilled->mode[header->det >= 0.0]; switch (mode) { case PIPE_POLYGON_MODE_FILL: