extensions: component "alpha" should be registered with "alpha" attribute.
commita28309ca623a42651ddd49deeb736ddc03bbd0fc
authorJehan <jehan@girinstud.io>
Tue, 12 Dec 2023 07:39:51 +0000 (12 16:39 +0900)
committerJehan <jehan@girinstud.io>
Sun, 11 Feb 2024 15:30:28 +0000 (11 16:30 +0100)
tree238bfbaa10ad1c327654cf0642612b137d448cf3
parent7ba69cdd98af64a80c4d4bc8430f04dc42aa5f75
extensions: component "alpha" should be registered with "alpha" attribute.

Though the models may itself be registered with a similarly named
attribute to mean they encode alpha, babl_format_has_alpha() in
particular works by verifying if any of the components
represents/encodes alpha. As a consequence, the function was failing to
consider e.g. HSVA as a model encoding alpha.
extensions/HCY.c
extensions/HSL.c
extensions/HSV.c
extensions/ycbcr.c