Commit dc3079d3 authored by Mukund Sivaraman's avatar Mukund Sivaraman

fractal-trace: Some more code cleanups

parent 6f2aa1da
......@@ -198,7 +198,6 @@ fractaltrace (GeglBuffer *input,
}
}
/*upload pixel value is destination buffer*/
for (i = 0; i < 4; i++)
dst_buf[offset++] = dest[i];
}
......@@ -255,8 +254,9 @@ static GeglRectangle
get_bounding_box (GeglOperation *operation)
{
GeglRectangle result = {0,0,0,0};
GeglRectangle *in_rect = gegl_operation_source_get_bounding_box (operation, "input");
GeglRectangle *in_rect;
in_rect = gegl_operation_source_get_bounding_box (operation, "input");
if (!in_rect)
return result;
......
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