From 7215bd1e0f911fcedea802a76edfcde33240daaf Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 20 Feb 2023 12:00:18 +0100 Subject: output: expose wlr_output_state_set_buffer() --- include/types/wlr_output.h | 2 -- include/wlr/types/wlr_output.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/types/wlr_output.h b/include/types/wlr_output.h index 082df5e3..30c3e45f 100644 --- a/include/types/wlr_output.h +++ b/include/types/wlr_output.h @@ -6,8 +6,6 @@ void output_pending_resolution(struct wlr_output *output, const struct wlr_output_state *state, int *width, int *height); -void output_state_attach_buffer(struct wlr_output_state *state, - struct wlr_buffer *buffer); bool output_is_direct_scanout(struct wlr_output *output, struct wlr_buffer *buffer); diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index cfd21325..9ea1188f 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -559,6 +559,8 @@ void wlr_output_state_set_render_format(struct wlr_output_state *state, uint32_t format); void wlr_output_state_set_subpixel(struct wlr_output_state *state, enum wl_output_subpixel subpixel); +void wlr_output_state_set_buffer(struct wlr_output_state *state, + struct wlr_buffer *buffer); /** -- cgit v1.2.3