summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_cull.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/draw/draw_cull.c')
-rw-r--r--src/mesa/pipe/draw/draw_cull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_cull.c b/src/mesa/pipe/draw/draw_cull.c
index f3d56ad7197..f898834ba5d 100644
--- a/src/mesa/pipe/draw/draw_cull.c
+++ b/src/mesa/pipe/draw/draw_cull.c
@@ -54,7 +54,7 @@ static void cull_begin( struct draw_stage *stage )
{
struct cull_stage *cull = cull_stage(stage);
- cull->winding = stage->draw->setup.cull_mode;
+ cull->winding = stage->draw->rasterizer->cull_mode;
stage->next->begin( stage->next );
}