From: Charlie Brej Date: Sun, 18 Apr 2010 18:24:08 +0000 (+0100) Subject: [image] Allow access to the internal image buffer X-Git-Tag: 0.8.3~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6028cb412a10365a6b08668ce05f06afffad6e8;p=thirdparty%2Fplymouth.git [image] Allow access to the internal image buffer Adds ply_image_convert_get_buffer to get the image buffer without destroying the image. Forgot to add the .c. --- diff --git a/src/libply-splash-graphics/ply-image.c b/src/libply-splash-graphics/ply-image.c index fc85dd13..562210d3 100644 --- a/src/libply-splash-graphics/ply-image.c +++ b/src/libply-splash-graphics/ply-image.c @@ -255,6 +255,12 @@ ply_image_rotate (ply_image_t *image, return new_image; } +ply_pixel_buffer_t * +ply_image_convert_get_buffer (ply_image_t *image) +{ + return image->buffer; +} + ply_pixel_buffer_t * ply_image_convert_to_pixel_buffer (ply_image_t *image) {