Commit 5a4cac2a authored by Michael Natterer's avatar Michael Natterer 😴

app: add XXX comment about assuming u8 to GimpHistogram

parent 022d30b9
......@@ -120,6 +120,7 @@ gimp_histogram_calculate (GimpHistogram *histogram,
g_return_if_fail (GEGL_IS_BUFFER (buffer));
g_return_if_fail (buffer_rect != NULL);
/* XXX need to analyze the real components here, this code assumes u8 */
format = gegl_buffer_get_format (buffer);
bpp = babl_format_get_bytes_per_pixel (format);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment