wayland/color management: fix waylandToKwinIntent
We support relative colorimetric with bpc now, so it needs to also be mapped in the function
This commit is contained in:
parent
d66925251a
commit
5b2304c709
1 changed files with 2 additions and 1 deletions
|
@ -160,8 +160,9 @@ static std::optional<RenderingIntent> waylandToKwinIntent(uint32_t intent)
|
|||
return RenderingIntent::RelativeColorimetric;
|
||||
case QtWaylandServer::xx_color_manager_v4::render_intent::render_intent_absolute:
|
||||
return RenderingIntent::AbsoluteColorimetric;
|
||||
case QtWaylandServer::xx_color_manager_v4::render_intent::render_intent_saturation:
|
||||
case QtWaylandServer::xx_color_manager_v4::render_intent::render_intent_relative_bpc:
|
||||
return RenderingIntent::RelativeColorimetricWithBPC;
|
||||
case QtWaylandServer::xx_color_manager_v4::render_intent::render_intent_saturation:
|
||||
return std::nullopt;
|
||||
}
|
||||
return std::nullopt;
|
||||
|
|
Loading…
Reference in a new issue