From 2c70814b6bff2091bcc55ae4252fe82ae53439e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Mon, 22 Jun 2009 20:43:08 -0400 Subject: [PATCH] Delete unused _pixman_image_get_fetcher() function --- pixman/pixman-image.c | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/pixman/pixman-image.c b/pixman/pixman-image.c index 3a0d0f8..9558ccb 100644 --- a/pixman/pixman-image.c +++ b/pixman/pixman-image.c @@ -140,6 +140,9 @@ _pixman_image_get_scanline_32 (pixman_image_t *image, int x, int y, int width, image->common.get_scanline_32 (image, x, y, width, buffer, mask, mask_bits); } +/* Even thought the type of buffer is uint32_t *, the function actually expects + * a uint64_t *buffer. + */ void _pixman_image_get_scanline_64 (pixman_image_t *image, int x, int y, int width, uint32_t *buffer, uint32_t *unused, uint32_t unused2) @@ -147,23 +150,6 @@ _pixman_image_get_scanline_64 (pixman_image_t *image, int x, int y, int width, image->common.get_scanline_64 (image, x, y, width, buffer, unused, unused2); } -/* Even thought the type of buffer is uint32_t *, the function actually expects - * a uint64_t *buffer. - */ - -scanFetchProc -_pixman_image_get_fetcher (pixman_image_t *image, - int wide) -{ - assert (image->common.get_scanline_64); - assert (image->common.get_scanline_32); - - if (wide) - return image->common.get_scanline_64; - else - return image->common.get_scanline_32; -} - static void image_property_changed (pixman_image_t *image) { -- 2.7.4