summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_flip_matrices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/opt_flip_matrices.cpp')
-rw-r--r--src/glsl/opt_flip_matrices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/opt_flip_matrices.cpp b/src/glsl/opt_flip_matrices.cpp
index 2107b1d4740..9044fd68066 100644
--- a/src/glsl/opt_flip_matrices.cpp
+++ b/src/glsl/opt_flip_matrices.cpp
@@ -104,8 +104,8 @@ matrix_flipper::visit_enter(ir_expression *ir)
var_ref->var = texmat_transpose;
- texmat_transpose->max_array_access =
- MAX2(texmat_transpose->max_array_access, mat_var->max_array_access);
+ texmat_transpose->data.max_array_access =
+ MAX2(texmat_transpose->data.max_array_access, mat_var->data.max_array_access);
progress = true;
}