diff options
author | Simon Ser <contact@emersion.fr> | 2023-12-12 11:12:07 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-12-25 11:43:41 +0100 |
commit | 66b6c349e7be0d9e459459a88cf12a290bc14b3c (patch) | |
tree | 297887bd57b084a925b12271c6c4225581e1abde /include/wlr | |
parent | cd157a0bd96acf9bf444cd46ca67c4257821de9b (diff) |
compositor: remove unnecessary wlr_surface.has_buffer
No need to store this bit, we can infer it from buffer_width and
buffer_height.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_compositor.h | 1 |
1 files changed, 0 insertions, 1 deletions
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; |