Fix some more problems in MultiplyC
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 29 Nov 2008 20:02:04 +0000 (15:02 -0500)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Tue, 23 Jun 2009 18:42:36 +0000 (14:42 -0400)
pixman/pixman-combine.c.template

index f981392..cbbcde7 100644 (file)
@@ -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;