summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_validate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir_validate.cpp')
-rw-r--r--src/glsl/ir_validate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index 96dd7bd9599..51598629117 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -707,7 +707,7 @@ ir_validate::visit(ir_variable *ir)
if (ir->data.mode == ir_var_uniform
&& strncmp(ir->name, "gl_", 3) == 0
- && ir->state_slots == NULL) {
+ && ir->get_state_slots() == NULL) {
printf("built-in uniform has no state\n");
ir->print();
abort();