buffer: remove unused code

Vestige of differentiating between buffers when the cmyk formats were
worse off.
parent 354c2c74
......@@ -2089,10 +2089,6 @@ _gegl_buffer_get_unlocked (GeglBuffer *buffer,
gint interpolation = (flags & GEGL_BUFFER_FILTER_ALL);
gint factor = 1;
const Babl *bfmt = gegl_buffer_get_format (buffer);
const Babl *model = babl_format_get_model (bfmt);
BablModelFlag model_flags = babl_model_get_flags (model);
while (scale <= 0.5)
{
x1 = 0 < x1 ? x1 / 2 : (x1 - 1) / 2;
......
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