Fix interlaced mode rejection

This commit is contained in:
Rostislav Pehlivanov 2018-11-22 17:52:52 +00:00
parent 42e8e3ed0a
commit 91513c89cd

View file

@ -1134,7 +1134,7 @@ void scan_drm_connectors(struct wlr_drm_backend *drm) {
continue; continue;
} }
if (mode->drm_mode.flags & DRM_MODE_FLAG_INTERLACE) { if (drm_conn->modes[i].flags & DRM_MODE_FLAG_INTERLACE) {
free(mode); free(mode);
continue; continue;
} }