summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_function_can_inline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir_function_can_inline.cpp')
-rw-r--r--src/glsl/ir_function_can_inline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_function_can_inline.cpp b/src/glsl/ir_function_can_inline.cpp
index c367c30e44f..7b15d5df178 100644
--- a/src/glsl/ir_function_can_inline.cpp
+++ b/src/glsl/ir_function_can_inline.cpp
@@ -59,7 +59,7 @@ bool
can_inline(ir_call *call)
{
ir_function_can_inline_visitor v;
- const ir_function_signature *callee = call->get_callee();
+ const ir_function_signature *callee = call->callee;
if (!callee->is_defined)
return false;