buffer: drop wlr_client_buffer.resource

This commit is contained in:
Simon Ser 2021-07-09 17:08:48 +02:00 committed by Simon Zeni
parent d7c68ce632
commit 4554f17377
2 changed files with 0 additions and 31 deletions

View file

@ -127,10 +127,6 @@ struct wlr_buffer *wlr_buffer_from_resource(struct wlr_renderer *renderer,
struct wlr_client_buffer {
struct wlr_buffer base;
/**
* The buffer resource, if any. Will be NULL if the client destroys it.
*/
struct wl_resource *resource;
/**
* The buffer's texture, if any. A buffer will not have a texture if the
* client destroys the buffer before it has been released.
@ -143,7 +139,6 @@ struct wlr_client_buffer {
// private state
struct wl_listener resource_destroy;
struct wl_listener source_destroy;
// If the client buffer has been created from a wl_shm buffer