From 66b6c349e7be0d9e459459a88cf12a290bc14b3c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 12 Dec 2023 11:12:07 +0100 Subject: compositor: remove unnecessary wlr_surface.has_buffer No need to store this bit, we can infer it from buffer_width and buffer_height. --- include/wlr/types/wlr_compositor.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index cb9f9292..a4de7928 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -218,7 +218,6 @@ struct wlr_surface { bool unmap_commit; bool opaque; - bool has_buffer; int32_t preferred_buffer_scale; bool preferred_buffer_transform_sent; -- cgit v1.2.3