Commit a460be25 authored by Ell's avatar Ell

buffer: avoid clearing partially-damaged mipmapped tiles ...

... when the damaged region is empty

When fetching a partially-damaged mipmapped tile, and the damaged
region contains no lower-level tiles, avoid erroneously discarding
the tile and returning NULL, since the non-damaged parts of the
tile may contain non-zero data.
parent 0df30e50
......@@ -213,6 +213,10 @@ get_tile (GeglTileSource *gegl_tile_source,
}
}
}
else
{
empty = FALSE;
}
}
if (empty)
......
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