summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_dead_builtin_varyings.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-09-09 17:02:19 -0600
committerBrian Paul <[email protected]>2013-09-09 17:52:44 -0600
commit1ddb56d16088b3fa57c77c9a562ca2ea62c9ce65 (patch)
tree6d1e431224d51a323e12ce05c1aeebd5c08d7d85 /src/glsl/opt_dead_builtin_varyings.cpp
parent0bb3cd8090c0897f695008aede5d5a2322d7af42 (diff)
glsl: remove struct keyword from ir_variable declarations
To silence MSVC warnings. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/opt_dead_builtin_varyings.cpp')
-rw-r--r--src/glsl/opt_dead_builtin_varyings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/opt_dead_builtin_varyings.cpp b/src/glsl/opt_dead_builtin_varyings.cpp
index 6745d5c64bb..3cdd13038ae 100644
--- a/src/glsl/opt_dead_builtin_varyings.cpp
+++ b/src/glsl/opt_dead_builtin_varyings.cpp
@@ -391,10 +391,10 @@ public:
private:
const varying_info_visitor *info;
- struct ir_variable *new_texcoord[MAX_TEXTURE_COORD_UNITS];
- struct ir_variable *new_color[2];
- struct ir_variable *new_backcolor[2];
- struct ir_variable *new_fog;
+ ir_variable *new_texcoord[MAX_TEXTURE_COORD_UNITS];
+ ir_variable *new_color[2];
+ ir_variable *new_backcolor[2];
+ ir_variable *new_fog;
};