[gegl] Provide direct access to the cache buffer, do not use a sub buffer
- From: Øyvind Kolås <ok src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gegl] Provide direct access to the cache buffer, do not use a sub buffer
- Date: Thu, 12 Nov 2009 21:24:53 +0000 (UTC)
commit 0219c2b130bcf01b87bd97366332fb255abdda3d
Author: �yvind Kolås <pippin gimp org>
Date: Thu Nov 12 21:23:00 2009 +0000
Provide direct access to the cache buffer, do not use a sub buffer
gegl/operation/gegl-operation-context.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-context.c b/gegl/operation/gegl-operation-context.c
index 526e928..3a5f8cd 100644
--- a/gegl/operation/gegl-operation-context.c
+++ b/gegl/operation/gegl-operation-context.c
@@ -385,7 +385,7 @@ gegl_operation_context_get_target (GeglOperationContext *context,
*/
if (gegl_rectangle_contains (gegl_buffer_get_extent (cache), result))
{
- output = gegl_buffer_create_sub_buffer (cache, result);
+ output = g_object_ref (cache);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]