diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index 37abd20f5..2f57ecfc3 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -469,6 +469,7 @@ void wlr_scene_output_set_position(struct wlr_scene_output *scene_output, struct wlr_scene_output_state_options { struct wlr_scene_timer *timer; + struct wlr_color_transform *color_transform; /** * Allows use of a custom swapchain. This can be useful when trying out an diff --git a/types/scene/wlr_scene.c b/types/scene/wlr_scene.c index cd03ea37e..78c322d46 100644 --- a/types/scene/wlr_scene.c +++ b/types/scene/wlr_scene.c @@ -1861,6 +1861,7 @@ bool wlr_scene_output_build_state(struct wlr_scene_output *scene_output, struct wlr_render_pass *render_pass = wlr_renderer_begin_buffer_pass(output->renderer, buffer, &(struct wlr_buffer_pass_options){ .timer = timer ? timer->render_timer : NULL, + .color_transform = options->color_transform, }); if (render_pass == NULL) { wlr_buffer_unlock(buffer);