From: Brian Date: Thu, 20 Sep 2007 15:55:56 +0000 (-0600) Subject: remove unused lookup[] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=768302c53971ad0405ee6e2a30db96fc5f51913b;p=mesa.git remove unused lookup[] --- diff --git a/src/mesa/pipe/draw/draw_twoside.c b/src/mesa/pipe/draw/draw_twoside.c index 3eb8cce6376..9547f2a67b6 100644 --- a/src/mesa/pipe/draw/draw_twoside.c +++ b/src/mesa/pipe/draw/draw_twoside.c @@ -36,7 +36,9 @@ struct twoside_stage { struct draw_stage stage; float sign; /**< +1 or -1 */ +#if 0 const unsigned *lookup; /**< vertex attribute positions */ +#endif }; @@ -162,7 +164,9 @@ struct draw_stage *draw_twoside_stage( struct draw_context *draw ) twoside->stage.end = twoside_end; twoside->stage.reset_stipple_counter = twoside_reset_stipple_counter; +#if 0 twoside->lookup = draw->vertex_info.attrib_to_slot; +#endif return &twoside->stage; }