From 417d9553b5bce29b736ab26e869402aaa290f4c3 Mon Sep 17 00:00:00 2001 From: Ell Date: Thu, 19 Jan 2017 12:03:07 -0500 Subject: [PATCH] app: in gimpblendcomposite.h, small fix in compfun_dst_atop() --- app/operations/layer-modes/gimpblendcomposite.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/operations/layer-modes/gimpblendcomposite.h b/app/operations/layer-modes/gimpblendcomposite.h index 7042d621ab..f5094209b5 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]); }