mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-19 06:59:48 -05:00
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.
This commit is contained in:
parent
5544973814
commit
28aa803916
3 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue