From 1ddb56d16088b3fa57c77c9a562ca2ea62c9ce65 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 9 Sep 2013 17:02:19 -0600 Subject: [PATCH] glsl: remove struct keyword from ir_variable declarations To silence MSVC warnings. Reviewed-by: Kenneth Graunke --- src/glsl/opt_dead_builtin_varyings.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/glsl/opt_dead_builtin_varyings.cpp b/src/glsl/opt_dead_builtin_varyings.cpp index 6745d5c..3cdd130 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; }; -- 2.7.4