aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glsl/ir_hv_accept.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_hv_accept.cpp b/src/glsl/ir_hv_accept.cpp
index 8989605e26f..6dae4ed2f3f 100644
--- a/src/glsl/ir_hv_accept.cpp
+++ b/src/glsl/ir_hv_accept.cpp
@@ -212,7 +212,7 @@ ir_texture::accept(ir_hierarchical_visitor *v)
break;
}
- return visit_continue_with_parent;
+ return (s == visit_stop) ? s : v->visit_leave(this);
}