mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
color-lcms: fix ICC-absolute rendering intent CHAD
According to ICC, chromatic adaptation applies also to ICC-absolute colorimetric rendering intent. ICC-absolute and media-relative colorimetric rendering intents are indeed identical as long as medium white point equals adapted white point. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
4479b3c96d
commit
6a2ddee844
1 changed files with 1 additions and 0 deletions
|
|
@ -1443,6 +1443,7 @@ rendering_intent_to_flags(enum weston_render_intent intent)
|
|||
|
||||
switch (intent) {
|
||||
case WESTON_RENDER_INTENT_ABSOLUTE:
|
||||
flags.chromatic_adaptation = true;
|
||||
break;
|
||||
case WESTON_RENDER_INTENT_RELATIVE:
|
||||
flags.chromatic_adaptation = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue