Commit d17dec65 authored by Nicolas Robidoux's avatar Nicolas Robidoux Committed by Øyvind "pippin" Kolås

gegl-buffer-access.c: cosmetic

parent 0c8d541f
......@@ -66,7 +66,6 @@ gegl_buffer_pixel_set (GeglBuffer *buffer,
fish = babl_fish (buffer->format, format);
}
{
if (!(buffer_y + y >= buffer_abyss_y &&
buffer_y + y < abyss_y_total &&
buffer_x + x >= buffer_abyss_x &&
......@@ -102,7 +101,6 @@ gegl_buffer_pixel_set (GeglBuffer *buffer,
gegl_tile_unref (tile);
}
}
}
return;
}
#endif
......@@ -119,7 +117,6 @@ gegl_buffer_in_abyss( GeglBuffer *buffer,
gint abyss_x_total = buffer_abyss_x + buffer->abyss.width;
gint abyss_y_total = buffer_abyss_y + buffer->abyss.height;
gint tiledy = y + buffer_shift_y;
gint tiledx = x + buffer_shift_x;
......@@ -390,8 +387,6 @@ gegl_buffer_iterate (GeglBuffer *buffer,
gint tiledy = buffer_y + bufy;
gint offsety = gegl_tile_offset (tiledy, tile_height);
gint bufx = 0;
if (!(buffer_y + bufy + (tile_height) >= buffer_abyss_y &&
......@@ -592,9 +587,7 @@ gegl_buffer_set_unlocked (GeglBuffer *buffer,
}
else
#endif
{
gegl_buffer_iterate (buffer, rect, src, rowstride, TRUE, format, 0);
}
if (gegl_buffer_is_shared(buffer))
{
......@@ -617,8 +610,6 @@ gegl_buffer_set (GeglBuffer *buffer,
}
#if 0
/*
......@@ -1012,7 +1003,7 @@ gegl_buffer_get_unlocked (GeglBuffer *buffer,
sample_buf = g_malloc (buf_width * buf_height * bpp);
gegl_buffer_iterate (buffer, &sample_rect, sample_buf, GEGL_AUTO_ROWSTRIDE, FALSE, format, level);
#if 1
/* slows testing of rendering code speed to much for now and
/* slows testing of rendering code speed too much for now and
* no time to make a fast implementation
*/
......
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