diff options
author | Pierre Ossman <ossman@cendio.se> | 2018-12-10 21:16:07 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2018-12-10 21:16:07 +0100 |
commit | d8bbbeb3b37c713a72a113f7ef78741e15cc4a4d (patch) | |
tree | 7d8076302c65cf6ffbd2ccbf9d581476412be36b /common/rfb/ZRLEEncoder.cxx | |
parent | 139b96741004adc92032a93b8ef6e5927a618f6d (diff) | |
parent | c3826bb2fcb60efa495b54dd66296bc55ce28ecf (diff) | |
download | tigervnc-d8bbbeb3b37c713a72a113f7ef78741e15cc4a4d.tar.gz tigervnc-d8bbbeb3b37c713a72a113f7ef78741e15cc4a4d.zip |
Merge branch 'connparams' of https://github.com/CendioOssman/tigervnc
Diffstat (limited to 'common/rfb/ZRLEEncoder.cxx')
-rw-r--r-- | common/rfb/ZRLEEncoder.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/rfb/ZRLEEncoder.cxx b/common/rfb/ZRLEEncoder.cxx index 8917d8ff..92fd13d1 100644 --- a/common/rfb/ZRLEEncoder.cxx +++ b/common/rfb/ZRLEEncoder.cxx @@ -19,7 +19,6 @@ #include <rdr/OutStream.h> #include <rfb/Exception.h> #include <rfb/encodings.h> -#include <rfb/ConnParams.h> #include <rfb/Palette.h> #include <rfb/SConnection.h> #include <rfb/ZRLEEncoder.h> @@ -43,7 +42,7 @@ ZRLEEncoder::~ZRLEEncoder() bool ZRLEEncoder::isSupported() { - return conn->cp.supportsEncoding(encodingZRLE); + return conn->client.supportsEncoding(encodingZRLE); } void ZRLEEncoder::writeRect(const PixelBuffer* pb, const Palette& palette) |