aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-21 10:31:39 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-02-21 09:45:47 +0000
commit8338d17d7e715a5ae945220e5d7e48abf4247e65 (patch)
treeacfa7b08e739935da8aea726a650df935af8f011 /include/backend
parent7215bd1e0f911fcedea802a76edfcde33240daaf (diff)
backend/drm: drop wlr_drm_layer.pending_{width,height}
No need to store this info in struct wlr_drm_layer. We can just extract the size when we need it.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/drm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 3b895db3..4b92c5eb 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -50,8 +50,6 @@ struct wlr_drm_layer {
/* Buffer currently displayed on screen */
struct wlr_drm_fb *current_fb;
- int pending_width, pending_height;
-
// One entry per wlr_drm_backend.planes
bool *candidate_planes;
};