[gimp] app: add XXX comment about assuming u8 to GimpHistogram
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add XXX comment about assuming u8 to GimpHistogram
- Date: Wed, 2 May 2012 16:41:07 +0000 (UTC)
commit 5a4cac2abd3fc9f30f12bc5250d81e5d20585cdb
Author: Michael Natterer <mitch gimp org>
Date: Sun Apr 22 16:55:31 2012 +0200
app: add XXX comment about assuming u8 to GimpHistogram
app/core/gimphistogram.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimphistogram.c b/app/core/gimphistogram.c
index 33bcacb..1f04dc8 100644
--- a/app/core/gimphistogram.c
+++ b/app/core/gimphistogram.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]