From: Brian Date: Tue, 16 Oct 2007 23:59:24 +0000 (-0600) Subject: front/back determination was wrong X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=495961716430b1ff99078abe1a7ac9bc07dd6116;p=mesa.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 2d374329d83..6cab086a452 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: