[gegl/abyss: 9/22] buffer: fixed level bug in reading
- From: Ville Sokk <villesokk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/abyss: 9/22] buffer: fixed level bug in reading
- Date: Thu, 2 Aug 2012 18:03:43 +0000 (UTC)
commit 78013f8b7c24b3f374fb2a7aff904633daf67822
Author: Ville Sokk <ville sokk gmail com>
Date: Thu Jun 28 21:04:13 2012 +0300
buffer: fixed level bug in reading
gegl/buffer/gegl-buffer-access.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-access.c b/gegl/buffer/gegl-buffer-access.c
index 8565513..cec2437 100644
--- a/gegl/buffer/gegl-buffer-access.c
+++ b/gegl/buffer/gegl-buffer-access.c
@@ -1208,7 +1208,7 @@ gegl_buffer_iterate_read_dispatch (GeglBuffer *buffer,
roi_factored.height /= factor;
if (rowstride == GEGL_AUTO_ROWSTRIDE)
- rowstride = roi->width * babl_format_get_bytes_per_pixel (format);
+ rowstride = roi_factored.width * babl_format_get_bytes_per_pixel (format);
if (gegl_rectangle_contains (&abyss, roi))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]