summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_unfilled.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-16 17:59:24 -0600
committerBrian <[email protected]>2007-10-16 17:59:24 -0600
commit495961716430b1ff99078abe1a7ac9bc07dd6116 (patch)
tree373813a30db747d4317a0d45c03839fe9894e01b /src/mesa/pipe/draw/draw_unfilled.c
parent29cfec1581769c1bf25a221dbc89623722d422c2 (diff)
front/back determination was wrong
Diffstat (limited to 'src/mesa/pipe/draw/draw_unfilled.c')
-rw-r--r--src/mesa/pipe/draw/draw_unfilled.c2
1 files changed, 1 insertions, 1 deletions
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: