From: Søren Sandmann Pedersen Date: Sat, 16 Jan 2010 15:07:48 +0000 (-0500) Subject: When fetching from an alpha map, use the alpha map's fetch function. X-Git-Tag: pixman-0.17.4~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f00dc62e4aa4b2b417ca1c86813a6b4c7f78673;p=platform%2Fupstream%2Fpixman.git When fetching from an alpha map, use the alpha map's fetch function. Don't use the one from the image. This is the first half of bug 25950. --- diff --git a/pixman/pixman-bits-image.c b/pixman/pixman-bits-image.c index 5a5a690..fb1af92 100644 --- a/pixman/pixman-bits-image.c +++ b/pixman/pixman-bits-image.c @@ -115,7 +115,7 @@ bits_image_fetch_pixel_alpha (bits_image_t *image, int x, int y) } else { - pixel_a = image->fetch_pixel_raw_32 ( + pixel_a = image->common.alpha_map->fetch_pixel_raw_32 ( image->common.alpha_map, x, y); pixel_a = ALPHA_8 (pixel_a); }