From e5ee8b4fae2983512f9c70f2f021fc8c35e62a75 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 17 May 2010 11:43:43 -0600 Subject: [PATCH] llvmpipe: fix front/back tri culling mix-up --- src/gallium/drivers/llvmpipe/lp_setup_tri.c | 4 ++-- 1 file 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: -- 2.30.2