[gimp] app: Use ABYSS_CLAMP for display_shell_render() (bug 709708)



commit 2381bf87c7f57721550a6c82f78f7f22c70eb9de
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Fri Mar 14 11:34:28 2014 -0700

    app: Use ABYSS_CLAMP for display_shell_render() (bug 709708)

 app/display/gimpdisplayshell-render.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-render.c b/app/display/gimpdisplayshell-render.c
index 7f10009..158422c 100644
--- a/app/display/gimpdisplayshell-render.c
+++ b/app/display/gimpdisplayshell-render.c
@@ -142,7 +142,7 @@ gimp_display_shell_render (GimpDisplayShell *shell,
                                        h * window_scale),
                        shell->scale_x * window_scale,
                        filter_format, shell->filter_data,
-                       shell->filter_stride, GEGL_ABYSS_NONE);
+                       shell->filter_stride, GEGL_ABYSS_CLAMP);
 
 
       gimp_color_display_stack_convert_buffer (shell->filter_stack,
@@ -158,7 +158,7 @@ gimp_display_shell_render (GimpDisplayShell *shell,
                        1.0,
                        babl_format ("cairo-ARGB32"),
                        data, stride,
-                       GEGL_ABYSS_NONE);
+                       GEGL_ABYSS_CLAMP);
     }
   else
     {
@@ -170,7 +170,7 @@ gimp_display_shell_render (GimpDisplayShell *shell,
                        shell->scale_x * window_scale,
                        babl_format ("cairo-ARGB32"),
                        data, stride,
-                       GEGL_ABYSS_NONE);
+                       GEGL_ABYSS_CLAMP);
     }
 
   if (shell->mask)
@@ -201,7 +201,7 @@ gimp_display_shell_render (GimpDisplayShell *shell,
                        shell->scale_x * window_scale,
                        babl_format ("Y u8"),
                        data, stride,
-                       GEGL_ABYSS_NONE);
+                       GEGL_ABYSS_CLAMP);
 
       /* invert the mask so what is *not* the foreground object is masked */
       mask_height = h * window_scale;


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