color-management-v1: add EXT_LINEAR

This commit is contained in:
Simon Ser 2025-02-27 23:06:18 +01:00
parent 0ee0452af0
commit c8d94000a6

View file

@ -81,6 +81,8 @@ static enum wlr_color_transfer_function transfer_function_to_wlr(
return WLR_COLOR_TRANSFER_FUNCTION_SRGB; return WLR_COLOR_TRANSFER_FUNCTION_SRGB;
case WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_ST2084_PQ: case WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_ST2084_PQ:
return WLR_COLOR_TRANSFER_FUNCTION_ST2084_PQ; return WLR_COLOR_TRANSFER_FUNCTION_ST2084_PQ;
case WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_EXT_LINEAR:
return WLR_COLOR_TRANSFER_FUNCTION_EXT_LINEAR;
default: default:
abort(); abort();
} }