softpipe: Fix function prototype.

This commit is contained in:
Michal Krol 2008-11-25 13:01:06 +01:00
parent 4b7a84a361
commit 152db5b884
2 changed files with 2 additions and 2 deletions

View 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);
}

View 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: