From: Charlie Brej Date: Sun, 18 Apr 2010 16:17:08 +0000 (+0100) Subject: [throbber] Use fill with buffer function X-Git-Tag: 0.8.3~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf609f033816a9d99840fb0a9a259dd9b0f20ee9;p=thirdparty%2Fplymouth.git [throbber] Use fill with buffer function --- diff --git a/src/libply-splash-graphics/ply-throbber.c b/src/libply-splash-graphics/ply-throbber.c index a4bf27ef..41fa3699 100644 --- a/src/libply-splash-graphics/ply-throbber.c +++ b/src/libply-splash-graphics/ply-throbber.c @@ -373,11 +373,10 @@ ply_throbber_draw_area (ply_throbber_t *throbber, return; frames = (ply_image_t * const *) ply_array_get_elements (throbber->frames); - frame_data = ply_pixel_buffer_get_argb32_data (frames[throbber->frame_number]); - - ply_pixel_buffer_fill_with_argb32_data (buffer, - &throbber->frame_area, - frame_data); + ply_pixel_buffer_fill_with_buffer (buffer, + frames[throbber->frame_number], + throbber->frame_area.x, + throbber->frame_area.y); } long