diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-30 17:00:15 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-30 17:00:15 +0200 |
commit | 5afc00bbda22ee56de460a8a7e530c50110b8ab2 (patch) | |
tree | 730ee4b33e5f38a41ed589e8f55b5077aa17125a /drmtools.c | |
parent | 6b54359f371edab9f6165757aabcfe823b77ccd4 (diff) | |
download | fbida-5afc00bbda22ee56de460a8a7e530c50110b8ab2.tar.gz |
cmd line args
Diffstat (limited to 'drmtools.c')
-rw-r--r-- | drmtools.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |