fix breakage from prev commit
authorBrian <brian.paul@tungstengraphics.com>
Thu, 30 Aug 2007 22:04:10 +0000 (16:04 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 30 Aug 2007 22:04:10 +0000 (16:04 -0600)
src/mesa/pipe/draw/draw_flatshade.c

index 602a8785adf3024eec410f3bcb18c5be0de717a4..ae7bd2455441b1f6650df8027d6f87d94caa380b 100644 (file)
@@ -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;