aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-20 12:00:18 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-02-21 09:43:43 +0000
commit7215bd1e0f911fcedea802a76edfcde33240daaf (patch)
treeee57aa50534dbb64d6ce9b9151d7a57d604fc514 /include
parent4629d0ef403c6fd17e01ee39c25a457466ae3b24 (diff)
output: expose wlr_output_state_set_buffer()
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_output.h2
-rw-r--r--include/wlr/types/wlr_output.h2
2 files changed, 2 insertions, 2 deletions
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);
/**