From 8338d17d7e715a5ae945220e5d7e48abf4247e65 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 21 Feb 2023 10:31:39 +0100 Subject: 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. --- include/backend/drm/drm.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/backend/drm') 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; }; -- cgit v1.2.3