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.
This commit is contained in:
Simon Ser 2023-02-21 10:31:39 +01:00 committed by Isaac Freund
parent 7215bd1e0f
commit 8338d17d7e
3 changed files with 6 additions and 8 deletions

View file

@ -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;
};