summaryrefslogtreecommitdiff
path: root/src/glsl/ir_import_prototypes.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-11-05 06:08:45 -0700
committerEric Anholt <eric@anholt.net>2010-11-29 17:08:27 -0800
commite8f5ebf313da3ce33ccbbcf9b72946853035fbdd (patch)
tree8709b84f862b9919410d82b4a384403e4dfa9c2c /src/glsl/ir_import_prototypes.cpp
parent2927b6c21202fd0f9a661665e0093e7193c5df6e (diff)
glsl: Make the symbol table's add_function just use the function's name.
Diffstat (limited to 'src/glsl/ir_import_prototypes.cpp')
-rw-r--r--src/glsl/ir_import_prototypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_import_prototypes.cpp b/src/glsl/ir_import_prototypes.cpp
index 066137e60a..2bdc8d9fd7 100644
--- a/src/glsl/ir_import_prototypes.cpp
+++ b/src/glsl/ir_import_prototypes.cpp
@@ -64,7 +64,7 @@ public:
/* Add the new function to the symbol table.
*/
- this->symbols->add_function(this->function->name, this->function);
+ this->symbols->add_function(this->function);
}
return visit_continue;
}