[Mesa-dev] [PATCH 6/7] glsl: fix inconsistent struct/class warning in vs12

Alon Levy alevy at redhat.com
Tue Jul 22 14:07:05 PDT 2014


Remove incorrect struct prefix, ir_variable is a class

Signed-off-by: Alon Levy <alevy at redhat.com>
---
 src/glsl/opt_dead_builtin_varyings.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/opt_dead_builtin_varyings.cpp b/src/glsl/opt_dead_builtin_varyings.cpp
index c2a306e..f98a21f 100644
--- a/src/glsl/opt_dead_builtin_varyings.cpp
+++ b/src/glsl/opt_dead_builtin_varyings.cpp
@@ -334,7 +334,7 @@ public:
    }
 
    void prepare_array(exec_list *ir,
-                      struct ir_variable **new_var,
+                      ir_variable **new_var,
                       int max_elements, unsigned start_location,
                       const char *var_name, const char *mode_str,
                       unsigned usage, unsigned external_usage)
-- 
1.9.3



More information about the mesa-dev mailing list