output: attach buffer to state in output_ensure_buffer()

This commit is contained in:
Simon Ser 2023-06-20 11:17:16 +02:00 committed by Alexander Orzechowski
parent 2ac31fc630
commit b625a13156
3 changed files with 4 additions and 10 deletions

View file

@ -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,