From 1c429b4fbedc5287659c836c0d30801a6209bf57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Mon, 22 Jun 2009 19:25:25 -0400 Subject: [PATCH] Make pixman-mmx.c compile again. --- pixman/pixman-mmx.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c index fa1b6f1..00480f6 100644 --- a/pixman/pixman-mmx.c +++ b/pixman/pixman-mmx.c @@ -2497,14 +2497,15 @@ fbCompositeIn_nx8x8mmx (pixman_implementation_t *imp, { uint16_t tmp; uint8_t a; - uint32_t m; + uint32_t m, d; a = *mask++; - - m = FbIntMult (m, a, tmp); - *dst = FbIntMult (m, *dst, tmp); + d = *dst; - *dst++ = r; + m = FbIntMult (sa, a, tmp); + d = FbIntMult (m, d, tmp); + + *dst++ = d; } } -- 2.7.4