[Mesa-dev] [PATCH 1/2] glsl: remove struct keyword from ir_variable declarations
Brian Paul
brianp at vmware.com
Mon Sep 9 16:03:48 PDT 2013
To silence MSVC warnings.
---
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;
};
--
1.7.10.4
More information about the mesa-dev
mailing list