From 5afc00bbda22ee56de460a8a7e530c50110b8ab2 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 30 Mar 2016 17:00:15 +0200 Subject: cmd line args --- drmtools.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drmtools.c') 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; -- cgit