diff options
Diffstat (limited to 'backend/drm/atomic.c')
-rw-r--r-- | backend/drm/atomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/atomic.c b/backend/drm/atomic.c index acce9e4d..a6a12278 100644 --- a/backend/drm/atomic.c +++ b/backend/drm/atomic.c @@ -134,7 +134,7 @@ static void set_plane_props(struct atomic *atom, struct wlr_drm_backend *drm, uint32_t id = plane->id; const union wlr_drm_plane_props *props = &plane->props; struct wlr_drm_fb *fb = plane_get_next_fb(plane); - if (!fb->id) { + if (fb == NULL) { wlr_log(WLR_ERROR, "Failed to acquire FB"); goto error; } |