st/mesa: fix struct vs. class compilation warning
authorBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 15:28:20 +0000 (08:28 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 15:29:16 +0000 (08:29 -0700)
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.

src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index f5bee013d1e70249677108bded1df6bd857e8d01..26047cfe078ace10b9b1e2bb04832fe483c51fb6 100644 (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)
 {