From 4554f17377fa5dbd7615b9bc0a6a6c71ecb246c0 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 9 Jul 2021 17:08:48 +0200 Subject: buffer: drop wlr_client_buffer.resource --- include/wlr/types/wlr_buffer.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index d305f4d4..041bcb3b 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -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 -- cgit v1.2.3