summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2010-07-02 11:58:23 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2010-08-08 13:57:40 -0400
commit6480c92312e1fb6662ad0d10940660a9439667ea (patch)
tree5d64be7cc939451cce8fd393824d4479ec49492d
parent1cc750ed92a936d84b47cac696aaffd226e1c02e (diff)
Eliminate recursion from alpha map code
Alpha maps with alpha maps are no longer supported. It's not a useful feature and it could could lead to infinite recursion.
-rw-r--r--pixman/pixman-bits-image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pixman/pixman-bits-image.c b/pixman/pixman-bits-image.c
index 36ea0af..81722c2 100644
--- a/pixman/pixman-bits-image.c
+++ b/pixman/pixman-bits-image.c
@@ -51,7 +51,7 @@ bits_image_store_scanline_32 (bits_image_t * image,
x -= image->common.alpha_origin_x;
y -= image->common.alpha_origin_y;
- bits_image_store_scanline_32 (image->common.alpha_map, x, y, width, buffer);
+ image->common.alpha_map->store_scanline_raw_32 (image->common.alpha_map, x, y, width, buffer);
}
}
@@ -69,7 +69,7 @@ bits_image_store_scanline_64 (bits_image_t * image,
x -= image->common.alpha_origin_x;
y -= image->common.alpha_origin_y;
- bits_image_store_scanline_64 (image->common.alpha_map, x, y, width, buffer);
+ image->common.alpha_map->store_scanline_raw_64 (image->common.alpha_map, x, y, width, buffer);
}
}