aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm')
-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;
}