From 495961716430b1ff99078abe1a7ac9bc07dd6116 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 16 Oct 2007 17:59:24 -0600 Subject: front/back determination was wrong --- src/mesa/pipe/draw/draw_unfilled.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/pipe/draw/draw_unfilled.c b/src/mesa/pipe/draw/draw_unfilled.c index 2d374329d8..6cab086a45 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: -- cgit v1.2.3