summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-14 14:15:52 -0700
committerBrian <[email protected]>2008-02-14 18:59:24 -0700
commit4f32c532376bc3394f8fce70f95156b49fcc4fec (patch)
treefee2c1e12203ef11793c34b8b8d55255e8ab45e9 /src
parentb08102a8f3ef558743f5f952c726ba2c28b6e82e (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/draw/draw_unfilled.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_unfilled.c b/src/mesa/pipe/draw/draw_unfilled.c
index 8bb9f3b5586..8777cfdfc86 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;
}