Commit 6761da42 authored by Øyvind "pippin" Kolås's avatar Øyvind "pippin" Kolås

modules: migrate aces-rrt filter to new iterator api

parent fb5d7832
......@@ -17,6 +17,7 @@
#include "config.h"
#define GEGL_ITERATOR2_API
#include <gegl.h>
#include <gtk/gtk.h>
......@@ -200,11 +201,11 @@ cdisplay_aces_rrt_convert_buffer (GimpColorDisplay *display,
iter = gegl_buffer_iterator_new (buffer, area, 0,
babl_format ("RGBA float"),
GEGL_ACCESS_READWRITE, GEGL_ABYSS_NONE);
GEGL_ACCESS_READWRITE, GEGL_ABYSS_NONE, 1);
while (gegl_buffer_iterator_next (iter))
{
gfloat *data = iter->data[0];
gfloat *data = iter->items[0].data;
gint count = iter->length;
while (count--)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment