mirror of
https://github.com/swaywm/sway.git
synced 2026-03-18 05:34:20 -04:00
Set color transform when calling wlr_scene_output_build_state()
We were only passing the color transform when calling wlr_scene_output_commit(). However when modesetting or pushing a new gamma LUT we render via wlr_scene_output_build_state(). Pass the color transform there as well.
This commit is contained in:
parent
40ca4150b2
commit
cc34210769
2 changed files with 6 additions and 4 deletions
|
|
@ -927,6 +927,7 @@ bool apply_output_configs(struct matched_output_config *configs,
|
|||
struct wlr_scene_output_state_options opts = {
|
||||
.swapchain = wlr_output_swapchain_manager_get_swapchain(
|
||||
&swapchain_mgr, backend_state->output),
|
||||
.color_transform = cfg->output->color_transform,
|
||||
};
|
||||
struct wlr_scene_output *scene_output = cfg->output->scene_output;
|
||||
struct wlr_output_state *state = &backend_state->base;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue