Merge pull request #1385 from atomnuker/master

Fix interlaced mode rejection
This commit is contained in:
emersion 2018-11-22 19:17:08 +01:00 committed by GitHub
commit c70b8f64b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}