summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-11-04 16:43:44 -0700
committerBrian Paul <brianp@vmware.com>2012-11-06 07:42:37 -0700
commit78d3cfb5b4fe1dbe052f87458e62cc2be2ecf171 (patch)
treef268b7428affc8540678b0c208cfca407ab4575f
parente9dd5895dd1efbe08138c1ef03be05c00b991a15 (diff)
glsl: remove incorrect 'struct' keyword
ir_variable is a class, not a struct. Fixes an MSVC warning. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
-rw-r--r--src/glsl/ast_to_hir.cpp2
1 files changed, 1 insertions, 1 deletions
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++];