• Mathias Wein's avatar
    Fix optimized alpha darken composite operation for float channels · 76c28d6a
    Mathias Wein authored
    The code attempted to copy a pixel via 'pixel_type' pointer,
    but this template parameter does not actually describe the pixel type
    (it's quint32), since 'Pixel' is defined in the template itself and
    hence can't be used as template parameter.
    May this template parameter should just be dropped...
    But since there's no need to copy the whole pixel, just copy the color channels.
KoCompositeOps.h 24 KB