llvmpipe: fix front/back tri culling mix-up

This commit is contained in:
Brian Paul
2010-05-17 11:43:43 -06:00
parent 5ebd2fa7da
commit e5ee8b4fae
+2 -2
View File
@@ -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: