[gegl] opencl: in gegl_buffer_cl_iterator_next add gegl_buffer_set level argument



commit 71d8e285e19434c9616ddfdfae3f41f4b093b2ea
Author: Thomas Manni <thomas manni free fr>
Date:   Mon Aug 12 18:47:50 2019 +0200

    opencl: in gegl_buffer_cl_iterator_next add gegl_buffer_set level argument
    
    Fixes issue #149

 gegl/opencl/gegl-buffer-cl-iterator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gegl/opencl/gegl-buffer-cl-iterator.c b/gegl/opencl/gegl-buffer-cl-iterator.c
index b74e2bf9c..47c01b9db 100644
--- a/gegl/opencl/gegl-buffer-cl-iterator.c
+++ b/gegl/opencl/gegl-buffer-cl-iterator.c
@@ -350,7 +350,7 @@ gegl_buffer_cl_iterator_next (GeglBufferClIterator *iterator, gboolean *err)
                       CL_CHECK;
 
                       /* color conversion using BABL */
-                      gegl_buffer_set (i->buffer[no], &i->roi[no], i->format[no], data, GEGL_AUTO_ROWSTRIDE);
+                      gegl_buffer_set (i->buffer[no], &i->roi[no], 0, i->format[no], data, 
GEGL_AUTO_ROWSTRIDE);
 
                       cl_err = gegl_clEnqueueUnmapMemObject (gegl_cl_get_command_queue(), i->tex_buf[no], 
data,
                                                              0, NULL, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]