From: Brian Paul Date: Sun, 4 Nov 2012 23:43:44 +0000 (-0700) Subject: glsl: remove incorrect 'struct' keyword X-Git-Tag: android-x86-4.4-r1~2901 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=78d3cfb5b4fe1dbe052f87458e62cc2be2ecf171;p=android-x86%2Fexternal-mesa.git glsl: remove incorrect 'struct' keyword ir_variable is a class, not a struct. Fixes an MSVC warning. Reviewed-by: Jose Fonseca --- diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 5157661b39e..d450aa1e40d 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -4058,7 +4058,7 @@ ast_uniform_block::hir(exec_list *instructions, decl_list->hir(&declared_variables, state); foreach_list_const(node, &declared_variables) { - struct ir_variable *var = (ir_variable *)node; + ir_variable *var = (ir_variable *)node; struct gl_uniform_buffer_variable *ubo_var = &ubo->Uniforms[ubo->NumUniforms++];