summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_variable.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-11-05 06:11:24 -0700
committerEric Anholt <[email protected]>2010-11-29 17:08:27 -0800
commit001eee52d461233b1e1d6ed3577965e9bcb209e8 (patch)
tree78233cab5abd5687c625f2bde89f3332974022da /src/glsl/ir_variable.cpp
parente8f5ebf313da3ce33ccbbcf9b72946853035fbdd (diff)
glsl: Make the symbol table's add_variable just use the variable's name.
Diffstat (limited to 'src/glsl/ir_variable.cpp')
-rw-r--r--src/glsl/ir_variable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_variable.cpp b/src/glsl/ir_variable.cpp
index 6b9b29458d0..5b8281e16e3 100644
--- a/src/glsl/ir_variable.cpp
+++ b/src/glsl/ir_variable.cpp
@@ -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;
}