[gegl] cubism: Fix call to gegl_buffer_sample()



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]