summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-30 16:04:10 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-30 16:04:10 -0600
commitc9e133eab450870c8804e1d3d1e7a44f509454a0 (patch)
tree3af2a7e7fb80f20e982d79dbff44361eb59aa409
parent8f1a0decad6baabed55371415fa4f75309c4c559 (diff)
fix breakage from prev commit
-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 602a8785ad..ae7bd24554 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;