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

View File

@@ -474,7 +474,7 @@ read_declaration(_mesa_glsl_parse_state *st, s_list *list)
}
// Add the variable to the symbol table
st->symbols->add_variable(var->name, var);
st->symbols->add_variable(var);
return var;
}