From f86ac27bf9203fdd9b7110dc843263307f475a99 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 15 May 2010 22:55:17 +0200 Subject: r300g: fix psychedelic colors with SWTCL r300_vertex_shader::outputs was uninitialized. Also remove the tokens parameter. --- src/gallium/drivers/r300/r300_vs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/r300/r300_vs.h') diff --git a/src/gallium/drivers/r300/r300_vs.h b/src/gallium/drivers/r300/r300_vs.h index 57b3fbca0b..31890d78ca 100644 --- a/src/gallium/drivers/r300/r300_vs.h +++ b/src/gallium/drivers/r300/r300_vs.h @@ -56,8 +56,8 @@ struct r300_vertex_shader { void *draw_vs; }; -void r300_translate_vertex_shader(struct r300_context* r300, - struct r300_vertex_shader* vs, - const struct tgsi_token *tokens); +void r300_init_vs_outputs(struct r300_vertex_shader *vs); +void r300_translate_vertex_shader(struct r300_context *r300, + struct r300_vertex_shader *vs); #endif /* R300_VS_H */ -- cgit v1.2.3