summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/glsl/opt_flip_matrices.cpp
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-02-20 22:51:21 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-02-20 22:51:21 +0000
commite6e3394a78b6d19474b3aea1458d8718d19d8325 (patch)
treefe92a58246a2181ba1459d22b92fbfc629b3cbb9 /dist/Mesa/src/glsl/opt_flip_matrices.cpp
parent8bb43317c5713539f43fcdcb25a30cf59aa981d6 (diff)
Import Mesa 10.2.9
Diffstat (limited to 'dist/Mesa/src/glsl/opt_flip_matrices.cpp')
-rw-r--r--dist/Mesa/src/glsl/opt_flip_matrices.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/Mesa/src/glsl/opt_flip_matrices.cpp b/dist/Mesa/src/glsl/opt_flip_matrices.cpp
index 04c6170b8..9044fd680 100644
--- a/dist/Mesa/src/glsl/opt_flip_matrices.cpp
+++ b/dist/Mesa/src/glsl/opt_flip_matrices.cpp
@@ -45,7 +45,8 @@ public:
mvp_transpose = NULL;
texmat_transpose = NULL;
- foreach_in_list(ir_instruction, ir, instructions) {
+ foreach_list(n, instructions) {
+ ir_instruction *ir = (ir_instruction *) n;
ir_variable *var = ir->as_variable();
if (!var)
continue;