Skip to content
  • Ell's avatar
    app: fix SRC_OVER composite mode · 4c3a772c
    Ell authored
    When the source alpha is zero, we don't calculate the blended color,
    so `comp[b]` can be infinite or NaN, in which case the expression
    `in[ALPHA] * (comp[b] - layer[b])` is NaN, rather than the expected
    value of zero.
    4c3a772c