diff options
author | Søren Sandmann Pedersen <sandmann@redhat.com> | 2010-01-16 10:07:48 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@redhat.com> | 2010-01-17 16:47:15 -0500 |
commit | 7f00dc62e4aa4b2b417ca1c86813a6b4c7f78673 (patch) | |
tree | 839319e99ae3de05044d34216b8857bd12f0c035 | |
parent | 042f978b04aefe56ec912c88ec879e668153a287 (diff) |
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.
-rw-r--r-- | pixman/pixman-bits-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |