aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-22 19:17:08 +0100
committerGitHub <noreply@github.com>2018-11-22 19:17:08 +0100
commitc70b8f64b7f1ea0a603517c7e6852ef3743a483a (patch)
tree9e5c099a5573811fd78894a9611d8985e3dfc38d /backend
parent42e8e3ed0aa6b5dff3a40b5d0d8706cff5039644 (diff)
parent91513c89cdccb9e8db550b3bec32c56350c934f7 (diff)
Merge pull request #1385 from atomnuker/master
Fix interlaced mode rejection
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index eb3a71c0..c2186932 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;
}