gallium: Remove extra level of indirecttion.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 28 Feb 2008 04:52:30 +0000 (13:52 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 28 Feb 2008 04:52:30 +0000 (13:52 +0900)
src/gallium/drivers/softpipe/sp_prim_setup.c

index 5c8b0bf69ccf82ce11ba46fdb11a05c35f1e6d56..2feee5c485e51a698d827ce3e949a456b4a34eb3 100644 (file)
@@ -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);