mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
output: add transfer function to image description
This commit is contained in:
parent
4470683591
commit
dc258b2237
2 changed files with 8 additions and 0 deletions
|
|
@ -679,6 +679,10 @@ static bool output_basic_test(struct wlr_output *output,
|
|||
wlr_log(WLR_DEBUG, "Unsupported image description primaries");
|
||||
return false;
|
||||
}
|
||||
if (!(output->supported_transfer_functions & state->image_description->transfer_function)) {
|
||||
wlr_log(WLR_DEBUG, "Unsupported image description transfer function");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue