mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
render: introduce Gamma 2.2 color transform
This commit is contained in:
parent
6978509f64
commit
c2d9ae2142
9 changed files with 31 additions and 1 deletions
|
|
@ -42,6 +42,7 @@ static bool get_tf_preference(enum wlr_color_transfer_function tf) {
|
|||
case WLR_COLOR_TRANSFER_FUNCTION_ST2084_PQ:
|
||||
return 1;
|
||||
case WLR_COLOR_TRANSFER_FUNCTION_EXT_LINEAR:
|
||||
case WLR_COLOR_TRANSFER_FUNCTION_GAMMA22:
|
||||
return -1;
|
||||
}
|
||||
abort(); // unreachable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue