From d437f9f5aabc5a0acd28e0206b8c07e1877264fd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 13 Nov 2010 16:32:34 +0100 Subject: [PATCH 4/4] cairo-image-surface: pixman has no paths for A1, avoid hitting them --- src/cairo-image-surface.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c index fc17d36..8be73b7 100644 --- a/src/cairo-image-surface.c +++ b/src/cairo-image-surface.c @@ -2553,6 +2553,9 @@ pattern_to_pixel (const cairo_solid_pattern_t *solid, pixman_format_code_t format, uint32_t *pixel) { + if (format == PIXMAN_a1) + return FALSE; + if (op == CAIRO_OPERATOR_CLEAR) { *pixel = 0; return TRUE; -- 1.7.3.2