glsl: Make the symbol table's add_variable just use the variable's name.
[mesa.git] / src / glsl / glsl_symbol_table.h
index 883c301e32d92fda285d1a649833397f77133f28..329cd106b14fb25ea95977d2fcf419314a2f4b29 100644 (file)
@@ -97,7 +97,7 @@ public:
     * reduces the clarity of the intention of code that uses these methods.
     */
    /*@{*/
-   bool add_variable(const char *name, ir_variable *v);
+   bool add_variable(ir_variable *v);
    bool add_type(const char *name, const glsl_type *t);
    bool add_function(ir_function *f);
    /*@}*/