Commit ed56355d authored by Ell's avatar Ell

buffer: avoid column-fetching optimization when rowstride != bpp

... which is really what last commit should have been about.  Oh
well :P
parent 03bdb529
......@@ -1891,7 +1891,7 @@ _gegl_buffer_get_unlocked (GeglBuffer *buffer,
else
{
gint bpp = babl_format_get_bytes_per_pixel (buffer->soft_format);
if (buffer->soft_format == format)
if (buffer->soft_format == format || rowstride != bpp)
{
gegl_buffer_iterate_read_dispatch (buffer, rect, dest_buf,
rowstride, format, 0, repeat_mode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment