diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/ir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index 98e926d090a..bb02df37bf1 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -379,9 +379,9 @@ ir_expression::ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1) case ir_binop_bit_xor: case ir_binop_bit_or: if (op0->type->is_scalar()) { - this->type = op1->type; + this->type = op1->type; } else if (op1->type->is_scalar()) { - this->type = op0->type; + this->type = op0->type; } break; |