diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-12 11:59:15 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-12 11:59:15 -0600 |
commit | 9e94e9b7980b08038d7d4c6b76b8f184d70ba163 (patch) | |
tree | 16ba8530830dad2405c2e538b2b1757415b336c9 /src/mesa/pipe/draw | |
parent | 62f5f18b3e5b80b6d9592442dc3c994d590c782d (diff) |
culling was inverted
Diffstat (limited to 'src/mesa/pipe/draw')
-rw-r--r-- | src/mesa/pipe/draw/draw_cull.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_cull.c b/src/mesa/pipe/draw/draw_cull.c index b6c578b3c9..1498874fcf 100644 --- a/src/mesa/pipe/draw/draw_cull.c +++ b/src/mesa/pipe/draw/draw_cull.c @@ -79,7 +79,7 @@ static void cull_tri( struct prim_stage *stage, if (header->det != 0) { /* non-zero area */ - GLuint mode = (header->det < 0) ? PIPE_WINDING_CW : PIPE_WINDING_CCW; + GLuint mode = (header->det > 0) ? PIPE_WINDING_CW : PIPE_WINDING_CCW; if ((mode & cull_stage(stage)->mode) == 0) { /* triangle is not culled, pass to next stage */ |