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:
Ray Strode 2007-06-11 12:27:50 -04:00
parent 165f80048f
commit ab8bfddfdb

View file

@ -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),