From 279f35495a122c9892198545f83e03c6fc50fa08 Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 7 May 2006 00:50:13 +0000 Subject: x11vnc: support for video4linux webcams & tv-tuners, -24to32 bpp option, -rawfb console. --- x11vnc/pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11vnc/pm.c') diff --git a/x11vnc/pm.c b/x11vnc/pm.c index 8b3eab5..2ddb009 100644 --- a/x11vnc/pm.c +++ b/x11vnc/pm.c @@ -25,7 +25,7 @@ static void check_fbpm(void) { CARD16 level; BOOL enabled; - if (raw_fb && ! dpy) return; /* raw_fb hack */ + RAWFB_RET_VOID if (! init_fbpm) { if (FBPMCapable(dpy)) { @@ -83,7 +83,7 @@ static void check_fbpm(void) { if (db) fprintf(stderr, "FBPMInfo failed.\n"); } #else - if (raw_fb && ! dpy) return; /* raw_fb hack */ + RAWFB_RET_VOID if (! init_fbpm) { rfbLog("X FBPM extension not supported.\n"); init_fbpm = 1; -- cgit v1.2.1