From: Brian Date: Thu, 30 Aug 2007 22:04:10 +0000 (-0600) Subject: fix breakage from prev commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9e133eab450870c8804e1d3d1e7a44f509454a0;p=mesa.git fix breakage from prev commit --- 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;