mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 07:48:03 +02:00
when copying an image to the frame buffer always read from the original width,
even if the image gets clipped
This commit is contained in:
parent
165f80048f
commit
ab8bfddfdb
1 changed files with 1 additions and 1 deletions
|
|
@ -651,7 +651,7 @@ ply_frame_buffer_fill_with_argb32_data_at_opacity (ply_frame_buffer_t *buff
|
|||
{
|
||||
uint32_t pixel_value;
|
||||
|
||||
pixel_value = data[cropped_area.width * row + column];
|
||||
pixel_value = data[area->width * row + column];
|
||||
pixel_value = make_pixel_value_translucent (pixel_value, opacity_as_byte);
|
||||
ply_frame_buffer_blend_value_at_pixel (buffer,
|
||||
cropped_area.x + (column - x),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue