summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-28 13:52:30 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-28 13:52:30 +0900
commit5c0a089a5d13baa7a427b70852223990da5f175c (patch)
treed7e14b61175a0eb8d15f9a14501d740f802506c4
parent510bc3535c4af68db71e5ffd19f3e21e10ec6004 (diff)
gallium: Remove extra level of indirecttion.
-rw-r--r--src/gallium/drivers/softpipe/sp_prim_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_prim_setup.c b/src/gallium/drivers/softpipe/sp_prim_setup.c
index 5c8b0bf69c..2feee5c485 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);