summaryrefslogtreecommitdiff
path: root/src/glsl/ir_function_detect_recursion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir_function_detect_recursion.cpp')
-rw-r--r--src/glsl/ir_function_detect_recursion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_function_detect_recursion.cpp b/src/glsl/ir_function_detect_recursion.cpp
index 890bc455f44..0a5e647cd88 100644
--- a/src/glsl/ir_function_detect_recursion.cpp
+++ b/src/glsl/ir_function_detect_recursion.cpp
@@ -217,7 +217,7 @@ public:
if (this->current == NULL)
return visit_continue;
- function *const target = this->get_function(call->get_callee());
+ function *const target = this->get_function(call->callee);
/* Create a link from the caller to the callee.
*/