summaryrefslogtreecommitdiffstats
path: root/x11vnc/rates.c
diff options
context:
space:
mode:
authorrunge <runge>2006-05-07 00:50:13 +0000
committerrunge <runge>2006-05-07 00:50:13 +0000
commit279f35495a122c9892198545f83e03c6fc50fa08 (patch)
tree7ce00691a9f77432cead7a5f4ae702fc62878019 /x11vnc/rates.c
parent0d734ad8967eafab1fb058280a0db04e7470e569 (diff)
downloadlibvncserver-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.c4
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) {
OpenPOWER on IntegriCloud