diff options
author | runge <runge> | 2006-02-05 04:46:57 +0000 |
---|---|---|
committer | runge <runge> | 2006-02-05 04:46:57 +0000 |
commit | d0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f (patch) | |
tree | 70a0c8ca556ac5a3b2420dae98adb3ddf5960969 /x11vnc/scan.c | |
parent | 1967913e9530139eb355b7b3108bb12314ba47da (diff) | |
download | libvncserver-d0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f.zip libvncserver-d0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f.tar.gz |
x11vnc: -8to24 speedups and improvements.
Diffstat (limited to 'x11vnc/scan.c')
-rw-r--r-- | x11vnc/scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/scan.c b/x11vnc/scan.c index 3b0afe6..fd408ce 100644 --- a/x11vnc/scan.c +++ b/x11vnc/scan.c @@ -2379,7 +2379,7 @@ static int scan_display(int ystart, int rescan) { } -static int scanlines[NSCAN] = { +int scanlines[NSCAN] = { 0, 16, 8, 24, 4, 20, 12, 28, 10, 26, 18, 2, 22, 6, 30, 14, 1, 17, 9, 25, 7, 23, 15, 31, @@ -2435,7 +2435,7 @@ int scan_for_updates(int count_only) { /* check for changed colormap */ set_colormap(0); } - if (cmap8to24 && scan_count % 4 == 0) { + if (cmap8to24 && scan_count % 1 == 0) { check_for_multivis(); } if (use_xdamage) { |