summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_hv_accept.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/ir_hv_accept.cpp')
-rw-r--r--src/compiler/glsl/ir_hv_accept.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/ir_hv_accept.cpp b/src/compiler/glsl/ir_hv_accept.cpp
index 5cc6a346fa4..7bbc2163d30 100644
--- a/src/compiler/glsl/ir_hv_accept.cpp
+++ b/src/compiler/glsl/ir_hv_accept.cpp
@@ -178,8 +178,8 @@ ir_texture::accept(ir_hierarchical_visitor *v)
return (s == visit_continue_with_parent) ? visit_continue : s;
}
- if (this->shadow_comparitor) {
- s = this->shadow_comparitor->accept(v);
+ if (this->shadow_comparator) {
+ s = this->shadow_comparator->accept(v);
if (s != visit_continue)
return (s == visit_continue_with_parent) ? visit_continue : s;
}