[Gimp-developer] libmypaint needs patching for recent GEGL



Hi,

I'm using GEGL GIT 2019/06/03.
libmypaint (1.3.0) does not compile with this version of GEGL.

Can anybody please confirm that the following patch is OK ?

--- a/gegl/mypaint-gegl-surface.c.ORIG 2016-06-02 17:43:32.000000000 +0200 +++ b/gegl/mypaint-gegl-surface.c 2019-03-12 13:16:31.626735235 +0100
@@ -78,7 +78,7 @@

     if (buffer_is_native(self)) {
GeglBufferIterator *iterator = gegl_buffer_iterator_new(self->buffer, &tile_bbox, 0, self->format, - read_write_flags, GEGL_ABYSS_NONE); + read_write_flags, GEGL_ABYSS_NONE,100);

         // Read out
         gboolean completed = gegl_buffer_iterator_next(iterator);
@@ -88,7 +88,7 @@
g_critical("Unable to get tile aligned access to GeglBuffer");
             request->buffer = NULL;
         } else {
-            request->buffer = (uint16_t *)(iterator->data[0]);
+            request->buffer = (uint16_t *)(iterator->items[0].data);
         }

         // So we can finish the iterator in tile_request_end()



Many thanks,
Helmut


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