summaryrefslogtreecommitdiff
path: root/src/glsl/ir_import_prototypes.cpp
diff options
context:
space:
mode:
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;
}