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 602a878..ae7bd24 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;