diff options
Diffstat (limited to 'pixman/pixman/pixman-general.c')
-rw-r--r-- | pixman/pixman/pixman-general.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pixman/pixman/pixman-general.c b/pixman/pixman/pixman-general.c index a653fa71a..8bce7c006 100644 --- a/pixman/pixman/pixman-general.c +++ b/pixman/pixman/pixman-general.c @@ -183,11 +183,7 @@ general_composite_rect (pixman_implementation_t *imp, mask_image = NULL; } - component_alpha = - mask_image && - mask_image->common.type == BITS && - mask_image->common.component_alpha && - PIXMAN_FORMAT_RGB (mask_image->bits.format); + component_alpha = mask_image && mask_image->common.component_alpha; _pixman_implementation_iter_init ( imp->toplevel, &mask_iter, |