aboutsummaryrefslogtreecommitdiff
path: root/pixman/pixman/pixman-fast-path.c
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/pixman/pixman-fast-path.c')
-rw-r--r--pixman/pixman/pixman-fast-path.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/pixman/pixman/pixman-fast-path.c b/pixman/pixman/pixman-fast-path.c
index 7f805780f..5ab8d8c99 100644
--- a/pixman/pixman/pixman-fast-path.c
+++ b/pixman/pixman/pixman-fast-path.c
@@ -389,15 +389,11 @@ fast_composite_add_n_8888_8888_ca (pixman_implementation_t *imp,
{
ma = *mask++;
- if (ma == 0xffffffff && srca == 0xff)
- {
- *dst = src;
- }
- else if (ma)
+ if (ma)
{
d = *dst;
s = src;
-
+
UN8x4_MUL_UN8x4_ADD_UN8x4 (s, ma, d);
*dst = s;