mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-16 22:05:45 -05:00
render/color, render/vulkan: add EXT_LINEAR to enum wlr_color_transfer_function
This commit is contained in:
parent
f5a0992686
commit
0ee0452af0
6 changed files with 22 additions and 7 deletions
|
|
@ -237,6 +237,9 @@ static bool render_pass_submit(struct wlr_render_pass *wlr_pass) {
|
|||
}
|
||||
|
||||
switch (tf) {
|
||||
case WLR_COLOR_TRANSFER_FUNCTION_EXT_LINEAR:
|
||||
pipeline = render_buffer->plain.render_setup->output_pipe_identity;
|
||||
break;
|
||||
case WLR_COLOR_TRANSFER_FUNCTION_SRGB:
|
||||
pipeline = render_buffer->plain.render_setup->output_pipe_srgb;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue