summaryrefslogtreecommitdiffstats
path: root/x11vnc/rates.c
diff options
context:
space:
mode:
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) {