projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9dd589
)
glsl: remove incorrect 'struct' keyword
author
Brian Paul
<brianp@vmware.com>
Sun, 4 Nov 2012 23:43:44 +0000
(16:43 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 6 Nov 2012 14:42:37 +0000
(07:42 -0700)
ir_variable is a class, not a struct. Fixes an MSVC warning.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/glsl/ast_to_hir.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ast_to_hir.cpp
b/src/glsl/ast_to_hir.cpp
index 5157661b39eca7c6e15bc58a3157026ed1bfd618..d450aa1e40d307a5a1d821e64c166630d42e8f30 100644
(file)
--- 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++];