[gegl] Fix bug in gegl_buffer_linear_open
- From: Øyvind Kolås <ok src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gegl] Fix bug in gegl_buffer_linear_open
- Date: Thu, 12 Nov 2009 14:10:35 +0000 (UTC)
commit de1557cc7a4cdb48c52f5c83c4b8afa1a135751b
Author: �yvind Kolås <pippin gimp org>
Date: Thu Nov 12 04:58:04 2009 +0000
Fix bug in gegl_buffer_linear_open
Was always using the extent of the buffer and not passed in extent when
doing pixel format conversion.
gegl/buffer/gegl-buffer-linear.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-linear.c b/gegl/buffer/gegl-buffer-linear.c
index b908185..d50453e 100644
--- a/gegl/buffer/gegl-buffer-linear.c
+++ b/gegl/buffer/gegl-buffer-linear.c
@@ -192,7 +192,7 @@ gegl_buffer_linear_open (GeglBuffer *buffer,
linear_buffers = g_list_append (linear_buffers, info);
g_object_set_data (G_OBJECT (buffer), "linear-buffers", linear_buffers);
- info->extent = buffer->extent;
+ info->extent = *extent;
info->format = format;
rs = info->extent.width * babl_format_get_bytes_per_pixel (format);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]