aboutsummaryrefslogtreecommitdiffstats
path: root/drmtools.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-09-11 08:22:23 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-09-11 08:22:23 +0200
commit9459bf32f7cd831d53fdac657501b9236e9eaf04 (patch)
treeedacf356e254035d7c17853e9a0af60431f82cf6 /drmtools.c
parent069b8bca0dc60077eba891566f32aa91532e123c (diff)
downloadfbida-9459bf32f7cd831d53fdac657501b9236e9eaf04.tar.gz
mode switching for drm fixup
Diffstat (limited to 'drmtools.c')
-rw-r--r--drmtools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drmtools.c b/drmtools.c
index 86662cb..b1eae37 100644
--- a/drmtools.c
+++ b/drmtools.c
@@ -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;