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/rates.c | |
parent | 0d734ad8967eafab1fb058280a0db04e7470e569 (diff) | |
download | libvncserver-279f35495a122c9892198545f83e03c6fc50fa08.zip libvncserver-279f35495a122c9892198545f83e03c6fc50fa08.tar.gz |
x11vnc: support for video4linux webcams & tv-tuners, -24to32 bpp option, -rawfb console.
Diffstat (limited to 'x11vnc/rates.c')
-rw-r--r-- | x11vnc/rates.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/x11vnc/rates.c b/x11vnc/rates.c index d2170dd..811a7ae 100644 --- a/x11vnc/rates.c +++ b/x11vnc/rates.c @@ -209,9 +209,7 @@ void initialize_speeds(void) { int n = 0; double dt, timer; dtime0(&timer); - if (0 && raw_fb && ! dpy) { /* raw_fb hack */ - n = 0; - } else if (fullscreen) { + if (fullscreen) { copy_image(fullscreen, 0, 0, 0, 0); n = fullscreen->bytes_per_line * fullscreen->height; } else if (scanline) { |