summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_symbol_table.h
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/glsl_symbol_table.h
parente8f5ebf313da3ce33ccbbcf9b72946853035fbdd (diff)
glsl: Make the symbol table's add_variable just use the variable's name.
Diffstat (limited to 'src/glsl/glsl_symbol_table.h')
-rw-r--r--src/glsl/glsl_symbol_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_symbol_table.h b/src/glsl/glsl_symbol_table.h
index 883c301e32d..329cd106b14 100644
--- a/src/glsl/glsl_symbol_table.h
+++ b/src/glsl/glsl_symbol_table.h
@@ -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);
/*@}*/