diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-08-13 16:46:43 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-08-13 16:46:43 -0700 |
commit | 768b55a5268572ff9fd03e57e92775882eb0a821 (patch) | |
tree | db4187d5f64d1d702ec614d4b46b29ace7d986f9 /src/glsl/hir_field_selection.cpp | |
parent | d960b61ea3d2ed749a41a0d0fea621415d656848 (diff) | |
download | external_mesa3d-768b55a5268572ff9fd03e57e92775882eb0a821.zip external_mesa3d-768b55a5268572ff9fd03e57e92775882eb0a821.tar.gz external_mesa3d-768b55a5268572ff9fd03e57e92775882eb0a821.tar.bz2 |
glsl2: Remove unnecessary use of 'struct' before type names
In C++ you don't have to say 'struct' or 'class' if the declaration of
the type has been seen. Some compilers will complain if you use
'struct' when 'class' should have been used and vice versa.
Fixes bugzilla #29539.
Diffstat (limited to 'src/glsl/hir_field_selection.cpp')
-rw-r--r-- | src/glsl/hir_field_selection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/hir_field_selection.cpp b/src/glsl/hir_field_selection.cpp index 6dd910d..23045ff 100644 --- a/src/glsl/hir_field_selection.cpp +++ b/src/glsl/hir_field_selection.cpp @@ -28,7 +28,7 @@ #include "ast.h" #include "glsl_types.h" -struct ir_rvalue * +ir_rvalue * _mesa_ast_field_selection_to_hir(const ast_expression *expr, exec_list *instructions, struct _mesa_glsl_parse_state *state) |