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]); }