aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-20 11:17:16 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-06-20 16:33:41 +0000
commitb625a13156b016accc4fb0ed20d7ebfe8098b119 (patch)
tree71d405cfba8e707e6709b52535e58d08e9ca8e34 /include
parent2ac31fc6305364fc2ab9f9706db825b3df366c6f (diff)
downloadwlroots-b625a13156b016accc4fb0ed20d7ebfe8098b119.tar.xz
output: attach buffer to state in output_ensure_buffer()
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/types/wlr_output.h b/include/types/wlr_output.h
index e754053f..22a5c463 100644
--- a/include/types/wlr_output.h
+++ b/include/types/wlr_output.h
@@ -12,7 +12,7 @@ bool output_pick_format(struct wlr_output *output,
struct wlr_drm_format *format, uint32_t fmt);
void output_clear_back_buffer(struct wlr_output *output);
bool output_ensure_buffer(struct wlr_output *output,
- const struct wlr_output_state *state, bool *new_back_buffer);
+ struct wlr_output_state *state, bool *new_back_buffer);
bool output_cursor_set_texture(struct wlr_output_cursor *cursor,
struct wlr_texture *texture, bool own_texture, float scale,