summaryrefslogtreecommitdiff
path: root/src/glsl/lower_texture_projection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/lower_texture_projection.cpp')
-rw-r--r--src/glsl/lower_texture_projection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/lower_texture_projection.cpp b/src/glsl/lower_texture_projection.cpp
index 1fd26a7a2b5..6e3aaecceee 100644
--- a/src/glsl/lower_texture_projection.cpp
+++ b/src/glsl/lower_texture_projection.cpp
@@ -55,7 +55,7 @@ lower_texture_projection_visitor::visit_leave(ir_texture *ir)
if (!ir->projector)
return visit_continue;
- void *mem_ctx = talloc_parent(ir);
+ void *mem_ctx = ralloc_parent(ir);
ir_variable *var = new(mem_ctx) ir_variable(ir->projector->type,
"projector", ir_var_auto);