[gegl] buffer: fix rows computation in gegl_buffer_access



commit ef7227f2c72044875c086421080c38dd300f20b3
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Jan 14 16:44:59 2018 +0100

    buffer: fix rows computation in gegl_buffer_access

 gegl/buffer/gegl-buffer-access.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-access.c b/gegl/buffer/gegl-buffer-access.c
index 4b5392a..89c6276 100644
--- a/gegl/buffer/gegl-buffer-access.c
+++ b/gegl/buffer/gegl-buffer-access.c
@@ -465,9 +465,6 @@ gegl_buffer_iterate_write (GeglBuffer          *buffer,
             {
               int skip, rows = MIN(height - bufy, tile_height - offsety);
               rows = MIN(abyss_y_total - bufy, rows);
-              skip = (buffer_abyss_y - bufy);
-              if (skip < 0) skip = 0;
-              rows-=skip;
               if (rows==1)
                 babl_process (fish,bp + lskip * bpx_size, tp + lskip * px_size, pixels);
               else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]