From: José Fonseca Date: Thu, 28 Feb 2008 04:52:30 +0000 (+0900) Subject: gallium: Remove extra level of indirecttion. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c0a089a5d13baa7a427b70852223990da5f175c;p=mesa.git gallium: Remove extra level of indirecttion. --- diff --git a/src/gallium/drivers/softpipe/sp_prim_setup.c b/src/gallium/drivers/softpipe/sp_prim_setup.c index 5c8b0bf69cc..2feee5c485e 100644 --- a/src/gallium/drivers/softpipe/sp_prim_setup.c +++ b/src/gallium/drivers/softpipe/sp_prim_setup.c @@ -1163,7 +1163,7 @@ static void setup_begin( struct draw_stage *stage ) { struct setup_stage *setup = setup_stage(stage); struct softpipe_context *sp = setup->softpipe; - const struct sp_fragment_shader *fs = &setup->softpipe->fs; + const struct sp_fragment_shader *fs = setup->softpipe->fs; if (sp->dirty) { softpipe_update_derived(sp);