summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_unfilled.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-13 15:02:50 -0600
committerBrian <[email protected]>2007-08-13 15:02:50 -0600
commitc271078048770a31028836eda684a6dbffc13cf5 (patch)
tree7373d346e2bcbfd65b002bb58fca2ab9d511835a /src/mesa/pipe/draw/draw_unfilled.c
parentfaa14a9ded2ddb784302b4634f0ca40c51ec1c4b (diff)
with Y=0=top, front/back determination is negated
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 82e8775f59f..05242d8d107 100644
--- a/src/mesa/pipe/draw/draw_unfilled.c
+++ b/src/mesa/pipe/draw/draw_unfilled.c
@@ -119,7 +119,7 @@ static void unfilled_tri( struct draw_stage *stage,
struct prim_header *header )
{
struct unfilled_stage *unfilled = unfilled_stage(stage);
- GLuint mode = unfilled->mode[header->det > 0.0];
+ GLuint mode = unfilled->mode[header->det < 0.0];
switch (mode) {
case PIPE_POLYGON_MODE_FILL: