From 4f32c532376bc3394f8fce70f95156b49fcc4fec Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 14 Feb 2008 14:15:52 -0700 Subject: gallium: changes to polygon mode weren't detected in draw_unfilled stage. Need to reset stage->tri = unfilled_first_try in unfilled_flush() so that the front/back state is picked up. --- src/mesa/pipe/draw/draw_unfilled.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/pipe') diff --git a/src/mesa/pipe/draw/draw_unfilled.c b/src/mesa/pipe/draw/draw_unfilled.c index 8bb9f3b558..8777cfdfc8 100644 --- a/src/mesa/pipe/draw/draw_unfilled.c +++ b/src/mesa/pipe/draw/draw_unfilled.c @@ -165,6 +165,8 @@ static void unfilled_flush( struct draw_stage *stage, unsigned flags ) { stage->next->flush( stage->next, flags ); + + stage->tri = unfilled_first_tri; } -- cgit v1.2.3