summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index 1b75234d578..ae763424f71 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -336,7 +336,7 @@ public:
array_dimensions.push_tail(&dim->link);
}
- const bool is_single_dimension()
+ bool is_single_dimension() const
{
return this->array_dimensions.tail_pred->prev != NULL &&
this->array_dimensions.tail_pred->prev->is_head_sentinel();