diff options
author | runge <runge> | 2006-05-07 00:50:13 +0000 |
---|---|---|
committer | runge <runge> | 2006-05-07 00:50:13 +0000 |
commit | 279f35495a122c9892198545f83e03c6fc50fa08 (patch) | |
tree | 7ce00691a9f77432cead7a5f4ae702fc62878019 /x11vnc/unixpw.c | |
parent | 0d734ad8967eafab1fb058280a0db04e7470e569 (diff) | |
download | libtdevnc-279f35495a122c9892198545f83e03c6fc50fa08.tar.gz libtdevnc-279f35495a122c9892198545f83e03c6fc50fa08.zip |
x11vnc: support for video4linux webcams & tv-tuners, -24to32 bpp option, -rawfb console.
Diffstat (limited to 'x11vnc/unixpw.c')
-rw-r--r-- | x11vnc/unixpw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c index 2130e00..bb66cd7 100644 --- a/x11vnc/unixpw.c +++ b/x11vnc/unixpw.c @@ -67,6 +67,8 @@ static int db = 0; static int white(void) { static unsigned long black_pix = 0, white_pix = 1, set = 0; + RAWFB_RET(0xffffff) + if (depth <= 8 && ! set) { X_LOCK; black_pix = BlackPixel(dpy, scr); |