summaryrefslogtreecommitdiffstats
path: root/x11vnc/scan.c
diff options
context:
space:
mode:
authorrunge <runge>2006-02-05 04:46:57 +0000
committerrunge <runge>2006-02-05 04:46:57 +0000
commitd0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f (patch)
tree70a0c8ca556ac5a3b2420dae98adb3ddf5960969 /x11vnc/scan.c
parent1967913e9530139eb355b7b3108bb12314ba47da (diff)
downloadlibvncserver-d0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f.zip
libvncserver-d0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f.tar.gz
x11vnc: -8to24 speedups and improvements.
Diffstat (limited to 'x11vnc/scan.c')
-rw-r--r--x11vnc/scan.c4
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) {
OpenPOWER on IntegriCloud