From: Benjamin Otte Date: Tue, 25 Nov 2008 21:53:37 +0000 (+0100) Subject: fix component-alpha versions to set source to 0 when mask is 0 X-Git-Tag: 1.0_branch~967 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cae5062d3bf16d32cf675ccb0030e29cc940b25e;p=profile%2Fivi%2Fpixman.git fix component-alpha versions to set source to 0 when mask is 0 --- diff --git a/pixman/pixman-combine.c.template b/pixman/pixman-combine.c.template index 0e62744..5e86011 100644 --- a/pixman/pixman-combine.c.template +++ b/pixman/pixman-combine.c.template @@ -450,10 +450,11 @@ fbCombine ## name ## C (pixman_implementation_t *imp, pixman_op_t op, \ comp1_t ida = ~da; \ comp4_t result; \ \ + fbCombineMaskValueC (&s, &m); \ + \ if (m == 0) \ continue; \ \ - fbCombineMaskValueC (&s, &m); \ result = d; \ FbByteAddMulC (result, ~m, s, ida); \ \