From a165261f7f099475547b54bafd78a4465728a5cd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 30 Nov 2023 19:48:01 +0100 Subject: output: replace wlr_render_timer arg with wlr_buffer_pass_options This scales better when more render pass options are added. --- include/wlr/types/wlr_output.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 2740abda..b0905eec 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -722,6 +722,7 @@ bool wlr_output_configure_primary_swapchain(struct wlr_output *output, * frames or -1 if unknown. This is useful for damage tracking. */ struct wlr_render_pass *wlr_output_begin_render_pass(struct wlr_output *output, - struct wlr_output_state *state, int *buffer_age, struct wlr_render_timer *timer); + struct wlr_output_state *state, int *buffer_age, + struct wlr_buffer_pass_options *render_options); #endif -- cgit v1.2.3