softpipe: Fix function prototype.
authorMichal Krol <michal@tungstengraphics.com>
Tue, 25 Nov 2008 12:01:06 +0000 (13:01 +0100)
committerMichal Krol <michal@tungstengraphics.com>
Tue, 25 Nov 2008 12:01:06 +0000 (13:01 +0100)
src/gallium/drivers/softpipe/sp_quad_fs.c
src/gallium/drivers/softpipe/sp_state.h

index 730fa0cf49f9adb0d09f00c514bcc8dd20dbd204..963a2b44f55f6fb1bf2f37dcb3ba1d0db1a9ad11 100644 (file)
@@ -151,7 +151,7 @@ static void shade_begin(struct quad_stage *qs)
 
    softpipe->fs->prepare( softpipe->fs, 
                          &qss->machine,
-                         qss->samplers_list );
+                         (struct tgsi_sampler **) qss->samplers_list );
 
    qs->next->begin(qs->next);
 }
index 476ef3dc8fbb44459689d746255edf24d2e5305a..3eff41ffa5f757546bcafc490b3619453ccfbf3a 100644 (file)
@@ -69,7 +69,7 @@ struct sp_fragment_shader {
 
    void (*prepare)( const struct sp_fragment_shader *shader,
                    struct tgsi_exec_machine *machine,
-                   struct tgsi_sampler *samplers);
+                   struct tgsi_sampler **samplers);
 
    /* Run the shader - this interface will get cleaned up in the
     * future: