• Niklas Haas's avatar
    shaders/colorspace: make gamut warning less broken · 46ab5528
    Niklas Haas authored
    The current logic either just saturates the pixel or else does whatever.
    I realized there's no really sane way to "invert" an out-of-gamut color,
    and even if we did invert it in a reasonable manner, it's still less
    visible than just making it pink.
    Context provides better clues for what's out of gamut, anyways.
colorspace.c 54.1 KB