aboutsummaryrefslogtreecommitdiffstats
path: root/drmtools.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-30 17:00:15 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-03-30 17:00:15 +0200
commit5afc00bbda22ee56de460a8a7e530c50110b8ab2 (patch)
tree730ee4b33e5f38a41ed589e8f55b5077aa17125a /drmtools.c
parent6b54359f371edab9f6165757aabcfe823b77ccd4 (diff)
downloadfbida-5afc00bbda22ee56de460a8a7e530c50110b8ab2.tar.gz
cmd line args
Diffstat (limited to 'drmtools.c')
-rw-r--r--drmtools.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drmtools.c b/drmtools.c
index 4ba3dfd..38c4f35 100644
--- a/drmtools.c
+++ b/drmtools.c
@@ -255,6 +255,8 @@ gfxstate *drm_init(const char *device, const char *output, bool pageflip)
if (pageflip) {
if (drm_init_fb(&fb2) == 0) {
gfx->mem2 = fb2.mem;
+ } else {
+ fprintf(stderr, "drm: can't alloc two fbs, pageflip disabled.\n");
}
}
return gfx;