From 0a53c41dbc5d6476595b2ad58dd9a14a3e85295c Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann?= Date: Sat, 1 Dec 2007 21:56:25 -0500 Subject: [PATCH] Set maskRepeat to FALSE when the function is NEED_SOLID_MASK --- pixman/pixman-pict.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pixman/pixman-pict.c b/pixman/pixman-pict.c index be8f096..53208ae 100644 --- a/pixman/pixman-pict.c +++ b/pixman/pixman-pict.c @@ -1729,8 +1729,11 @@ pixman_image_composite (pixman_op_t op, if (info->src_format == PIXMAN_solid) srcRepeat = FALSE; - if (info->mask_format == PIXMAN_solid) + if (info->mask_format == PIXMAN_solid || + info->flags & NEED_SOLID_MASK) + { maskRepeat = FALSE; + } } } -- 2.7.4