diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-13 15:02:50 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-13 15:02:50 -0600 |
commit | c271078048770a31028836eda684a6dbffc13cf5 (patch) | |
tree | 7373d346e2bcbfd65b002bb58fca2ab9d511835a /src/mesa/pipe/draw/draw_unfilled.c | |
parent | faa14a9ded2ddb784302b4634f0ca40c51ec1c4b (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.c | 2 |
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 82e8775f59..05242d8d10 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: |