diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-02-20 22:51:21 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-02-20 22:51:21 +0000 |
commit | e6e3394a78b6d19474b3aea1458d8718d19d8325 (patch) | |
tree | fe92a58246a2181ba1459d22b92fbfc629b3cbb9 /dist/Mesa/src/glsl/opt_flip_matrices.cpp | |
parent | 8bb43317c5713539f43fcdcb25a30cf59aa981d6 (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.cpp | 3 |
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; |