diff options
author | Eric Anholt <[email protected]> | 2010-11-05 06:11:24 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-11-29 17:08:27 -0800 |
commit | 001eee52d461233b1e1d6ed3577965e9bcb209e8 (patch) | |
tree | 78233cab5abd5687c625f2bde89f3332974022da /src/glsl/ir_reader.cpp | |
parent | e8f5ebf313da3ce33ccbbcf9b72946853035fbdd (diff) |
glsl: Make the symbol table's add_variable just use the variable's name.
Diffstat (limited to 'src/glsl/ir_reader.cpp')
-rw-r--r-- | src/glsl/ir_reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_reader.cpp b/src/glsl/ir_reader.cpp index 446776c691d..5a718d3b756 100644 --- a/src/glsl/ir_reader.cpp +++ b/src/glsl/ir_reader.cpp @@ -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; } |