summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_flatshade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/draw/draw_flatshade.c')
-rw-r--r--src/mesa/pipe/draw/draw_flatshade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_flatshade.c b/src/mesa/pipe/draw/draw_flatshade.c
index 602a8785adf..ae7bd245544 100644
--- a/src/mesa/pipe/draw/draw_flatshade.c
+++ b/src/mesa/pipe/draw/draw_flatshade.c
@@ -133,7 +133,7 @@ struct draw_stage *draw_flatshade_stage( struct draw_context *draw )
{
struct draw_stage *flatshade = CALLOC_STRUCT(draw_stage);
- draw_alloc_tmps( &flatshade->stage, 2 );
+ draw_alloc_tmps( flatshade, 2 );
flatshade->draw = draw;
flatshade->next = NULL;