aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_flatshade.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-30 16:04:10 -0600
committerBrian <[email protected]>2007-08-30 16:04:10 -0600
commitc9e133eab450870c8804e1d3d1e7a44f509454a0 (patch)
tree3af2a7e7fb80f20e982d79dbff44361eb59aa409 /src/mesa/pipe/draw/draw_flatshade.c
parent8f1a0decad6baabed55371415fa4f75309c4c559 (diff)
fix breakage from prev commit
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;