diff options
author | Christian Beier <dontmind@freeshell.org> | 2012-04-12 16:23:01 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2012-04-12 16:23:01 +0200 |
commit | 7cb8fd9b30e80ecf9bab98746c590d6b5578c929 (patch) | |
tree | 85482eb445be4257bf992c7236bafecec9f350a8 /libvncserver/tight.c | |
parent | 5e142f81a9fd30b1b360032779ff1cc9be83aa84 (diff) | |
download | libtdevnc-7cb8fd9b30e80ecf9bab98746c590d6b5578c929.tar.gz libtdevnc-7cb8fd9b30e80ecf9bab98746c590d6b5578c929.zip |
Make TurboVNC compress level 3 actually work.
Diffstat (limited to 'libvncserver/tight.c')
-rw-r--r-- | libvncserver/tight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/tight.c b/libvncserver/tight.c index 3650458..6d5bcbb 100644 --- a/libvncserver/tight.c +++ b/libvncserver/tight.c @@ -330,7 +330,7 @@ SendRectEncodingTight(rfbClientPtr cl, benefit. For low-color workloads, it provides typically only 10-20% better compression than CL 2 with JPEG and CL 1 without JPEG, and it uses, on average, twice as much CPU time. */ - if (compressLevel == 9) compressLevel = 3; + if (cl->tightCompressLevel == 9) compressLevel = 3; if ( cl->format.depth == 24 && cl->format.redMax == 0xFF && cl->format.greenMax == 0xFF && cl->format.blueMax == 0xFF ) { |