diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-09-11 08:10:07 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-09-11 08:10:07 +0200 |
commit | 069b8bca0dc60077eba891566f32aa91532e123c (patch) | |
tree | 73bcb58b4e0421e97de9316bd0faa2cbfc79ff2e /drmtools-egl.c | |
parent | e63f7620b6a8cb64a1d47adb789f51802163a8b7 (diff) | |
download | fbida-069b8bca0dc60077eba891566f32aa91532e123c.tar.gz |
mode switching for drm
Diffstat (limited to 'drmtools-egl.c')
-rw-r--r-- | drmtools-egl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drmtools-egl.c b/drmtools-egl.c index 49932df..50a3408 100644 --- a/drmtools-egl.c +++ b/drmtools-egl.c @@ -163,7 +163,7 @@ static void drm_egl_flush_display(bool second) bo = newbo; } -gfxstate *drm_init_egl(const char *device, const char *output) +gfxstate *drm_init_egl(const char *device, const char *output, const char *mode) { gfxstate *gfx; char dev[64]; @@ -175,7 +175,7 @@ gfxstate *drm_init_egl(const char *device, const char *output) } fprintf(stderr, "trying drm/egl: %s ...\n", dev); - if (drm_init_dev(dev, output) < 0) + if (drm_init_dev(dev, output, mode) < 0) return NULL; if (drm_setup_egl() < 0) return NULL; |