diff options
author | Simon Ser <contact@emersion.fr> | 2021-07-09 23:27:07 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-07-12 09:19:18 -0400 |
commit | 28aa803916f37a3ffdc514ce4564a8ceb7763409 (patch) | |
tree | c7b620c9fd98c73c0aa1201d31a9924e583eb812 /include/wlr | |
parent | 55449738142d41b8e0f7c21f086d85c6570e3dad (diff) |
buffer: drop resource arg from wlr_client_buffer_create
This function doesn't need the wl_resource anymore.
In the failure paths, wlr_buffer_unlock in surface_apply_damage
will take care of sending wl_buffer.release.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index 041bcb3b..046cd392 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -150,7 +150,7 @@ struct wlr_client_buffer { * from it, and copying its wl_resource. */ struct wlr_client_buffer *wlr_client_buffer_create(struct wlr_buffer *buffer, - struct wlr_renderer *renderer, struct wl_resource *resource); + struct wlr_renderer *renderer); /** * Get a client buffer from a generic buffer. If the buffer isn't a client |