diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-09-11 08:22:23 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-09-11 08:22:23 +0200 |
commit | 9459bf32f7cd831d53fdac657501b9236e9eaf04 (patch) | |
tree | edacf356e254035d7c17853e9a0af60431f82cf6 | |
parent | 069b8bca0dc60077eba891566f32aa91532e123c (diff) | |
download | fbida-9459bf32f7cd831d53fdac657501b9236e9eaf04.tar.gz |
mode switching for drm fixup
-rw-r--r-- | drmtools.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -201,7 +201,7 @@ static int drm_show_fb(struct drmfb *fb) rc = drmModeSetCrtc(drm_fd, drm_enc->crtc_id, fb->id, 0, 0, &drm_conn->connector_id, 1, - &drm_conn->modes[0]); + drm_mode); if (rc < 0) { fprintf(stderr, "drm: drmModeSetCrtc() failed\n"); return -1; |