st/mesa: fix struct vs. class compilation warning

glsl_to_tgsi_visitor is earlier defined as a class, not a struct.
Fixes MSVC warning.

NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit 9f2963b631)
This commit is contained in:
Brian Paul 2012-01-12 08:28:20 -07:00
parent ad77e2fb78
commit 89a1e7caf4

View file

@ -5093,7 +5093,7 @@ st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog)
}
void
st_translate_stream_output_info(struct glsl_to_tgsi_visitor *glsl_to_tgsi,
st_translate_stream_output_info(glsl_to_tgsi_visitor *glsl_to_tgsi,
const GLuint outputMapping[],
struct pipe_stream_output_info *so)
{