glsl: Make the symbol table's add_variable just use the variable's name.

This commit is contained in:
Eric Anholt
2010-11-05 06:11:24 -07:00
parent e8f5ebf313
commit 001eee52d4
7 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ add_variable(const char *name, enum ir_variable_mode mode, int slot,
*/
instructions->push_tail(var);
symtab->add_variable(var->name, var);
symtab->add_variable(var);
return var;
}