[gimp] app: keep GimpPaintCore->canvas_buffer around as "Y float"



commit 930832d542c9299a6807b22c338568185a2260d1
Author: Michael Natterer <mitch gimp org>
Date:   Wed Sep 19 00:06:35 2012 +0200

    app: keep GimpPaintCore->canvas_buffer around as "Y float"
    
    instead of "Y u8" because all operations on it are using float.

 app/paint/gimppaintcore.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/paint/gimppaintcore.c b/app/paint/gimppaintcore.c
index 8fc8139..2ff0541 100644
--- a/app/paint/gimppaintcore.c
+++ b/app/paint/gimppaintcore.c
@@ -389,7 +389,7 @@ gimp_paint_core_start (GimpPaintCore     *core,
     gegl_buffer_new (GEGL_RECTANGLE (0, 0,
                                      gimp_item_get_width  (item),
                                      gimp_item_get_height (item)),
-                     babl_format ("Y u8"));
+                     babl_format ("Y float"));
 
   /*  Get the initial undo extents  */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]