From 3fb71f8b41dedd55982eccd16b8518cce10258fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Sat, 29 Nov 2008 15:02:04 -0500 Subject: [PATCH] Fix some more problems in MultiplyC --- pixman/pixman-combine.c.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pixman/pixman-combine.c.template b/pixman/pixman-combine.c.template index f981392..cbbcde7 100644 --- a/pixman/pixman-combine.c.template +++ b/pixman/pixman-combine.c.template @@ -405,7 +405,8 @@ fbCombineMultiplyC (pixman_implementation_t *imp, pixman_op_t op, comp4_t dest_ia = Alpha (~d); FbByteAddMulC (r, m, s, dest_ia); - FbByteMulAddC (r, s, d); + FbByteMulC (d, s); + FbByteAdd (r, d); } *(dest + i) = r; -- 2.7.4