[gimp] app: in gimpblendcomposite.h, small fix in compfun_dst_atop()



commit 417d9553b5bce29b736ab26e869402aaa290f4c3
Author: Ell <ell_se yahoo com>
Date:   Thu Jan 19 12:03:07 2017 -0500

    app: in gimpblendcomposite.h, small fix in compfun_dst_atop()

 app/operations/layer-modes/gimpblendcomposite.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/operations/layer-modes/gimpblendcomposite.h b/app/operations/layer-modes/gimpblendcomposite.h
index 7042d62..f509420 100644
--- a/app/operations/layer-modes/gimpblendcomposite.h
+++ b/app/operations/layer-modes/gimpblendcomposite.h
@@ -145,6 +145,8 @@ compfun_dst_atop (gfloat *in,
         }
       else
         {
+          gint b;
+
           for (b = RED; b < ALPHA; b++)
             out[b] = comp[b] * in[ALPHA] + layer[b] * (1.0f - in[ALPHA]);
         }


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