[gimp/goat-invasion] app: add XXX comment about assuming u8 to GimpHistogram



commit 0a2e47b13246dbbf3bb19cccfa2d808895af65b8
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]