[gegl] cubism: Fix call to gegl_buffer_sample()
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] cubism: Fix call to gegl_buffer_sample()
- Date: Tue, 30 Aug 2011 14:38:30 +0000 (UTC)
commit 7947265cd35044e34ff084fc520f2665c2ebd094
Author: Mukund Sivaraman <muks banu com>
Date: Tue Aug 30 20:04:09 2011 +0530
cubism: Fix call to gegl_buffer_sample()
operations/workshop/cubism.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/workshop/cubism.c b/operations/workshop/cubism.c
index 3697c8a..26fb646 100644
--- a/operations/workshop/cubism.c
+++ b/operations/workshop/cubism.c
@@ -513,7 +513,7 @@ process (GeglOperation *operation,
ix = CLAMP (x, boundary.x, boundary.x + boundary.width - 1);
iy = CLAMP (y, boundary.y, boundary.y + boundary.height - 1);
- gegl_buffer_sample (input, ix, iy, 1.0, color, format,
+ gegl_buffer_sample (input, ix, iy, NULL, color, format,
GEGL_INTERPOLATION_NEAREST);
fill_poly_color (&poly, &extended, &boundary, dst_buf, color);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]