diff options
author | Brian Paul <[email protected]> | 2010-05-17 11:43:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-05-17 11:43:43 -0600 |
commit | e5ee8b4fae2983512f9c70f2f021fc8c35e62a75 (patch) | |
tree | d1de8d99050d6c5e336c15cd5a751b715ec6bb5d /src/gallium | |
parent | 5ebd2fa7dacee1b517e50ac89af66800fe47af22 (diff) |
llvmpipe: fix front/back tri culling mix-up
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_tri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index fbbfa3275f3..306cb6e27d2 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -674,10 +674,10 @@ lp_setup_choose_triangle( struct lp_setup_context *setup ) case PIPE_FACE_NONE: setup->triangle = triangle_both; break; - case PIPE_FACE_FRONT: + case PIPE_FACE_BACK: setup->triangle = setup->ccw_is_frontface ? triangle_ccw : triangle_cw; break; - case PIPE_FACE_BACK: + case PIPE_FACE_FRONT: setup->triangle = setup->ccw_is_frontface ? triangle_cw : triangle_ccw; break; default: |