jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=85ecf662d4a93339f57e66c901be3b4b250287e6
commit 85ecf662d4a93339f57e66c901be3b4b250287e6 Author: Jean-Philippe Andre <[email protected]> Date: Mon Nov 10 16:48:38 2014 +0900 Evas: Fix SW rendering COPY function with mask This does not fix any known bug as there is no known path using this function. --- src/lib/evas/common/evas_op_copy/op_copy_mask_color_.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/lib/evas/common/evas_op_copy/op_copy_mask_color_.c b/src/lib/evas/common/evas_op_copy/op_copy_mask_color_.c index efe7cca..3cbecbe 100644 --- a/src/lib/evas/common/evas_op_copy/op_copy_mask_color_.c +++ b/src/lib/evas/common/evas_op_copy/op_copy_mask_color_.c @@ -3,20 +3,21 @@ static void _op_copy_mas_c_dp(DATA32 *s EINA_UNUSED, DATA8 *m, DATA32 c, DATA32 *d, int l) { DATA32 *e; - int color; + int alpha; UNROLL8_PLD_WHILE(d, l, e, { - color = *m; - switch(color) + alpha = *m; + switch(alpha) { case 0: + *d = 0; break; case 255: *d = c; break; default: - color++; - *d = INTERP_256(color, c, *d); + alpha++; + *d = MUL_256(alpha, c); break; } m++; d++; --
