From 91513c89cdccb9e8db550b3bec32c56350c934f7 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Thu, 22 Nov 2018 17:52:52 +0000 Subject: [PATCH] Fix interlaced mode rejection --- backend/drm/drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/drm/drm.c b/backend/drm/drm.c index eb3a71c075..c21869321d 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -1134,7 +1134,7 @@ void scan_drm_connectors(struct wlr_drm_backend *drm) { continue; } - if (mode->drm_mode.flags & DRM_MODE_FLAG_INTERLACE) { + if (drm_conn->modes[i].flags & DRM_MODE_FLAG_INTERLACE) { free(mode); continue; }