summaryrefslogtreecommitdiffstats
path: root/common/rfb/HextileEncoder.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-01-21 14:45:10 +0100
committerPierre Ossman <ossman@cendio.se>2014-07-07 14:42:08 +0200
commit717c07b9671badeef0c18c91cf17fe9747559787 (patch)
treed4ad9cfc9e04cb0453118869c5cfe2ec660320f7 /common/rfb/HextileEncoder.cxx
parentc0b1aa021dff606c32aed0f1ac38ab51baf093af (diff)
downloadtigervnc-717c07b9671badeef0c18c91cf17fe9747559787.tar.gz
tigervnc-717c07b9671badeef0c18c91cf17fe9747559787.zip
Remove partial update functionality
Get rid of the ability of encoders to only send part of the rectangle they are given as we don't want partial updates anyway.
Diffstat (limited to 'common/rfb/HextileEncoder.cxx')
-rw-r--r--common/rfb/HextileEncoder.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/rfb/HextileEncoder.cxx b/common/rfb/HextileEncoder.cxx
index 0907bab8..19fb1a3e 100644
--- a/common/rfb/HextileEncoder.cxx
+++ b/common/rfb/HextileEncoder.cxx
@@ -53,8 +53,7 @@ HextileEncoder::~HextileEncoder()
{
}
-bool HextileEncoder::writeRect(const Rect& r, TransImageGetter* ig,
- Rect* actual)
+void HextileEncoder::writeRect(const Rect& r, TransImageGetter* ig)
{
writer->startRect(r, encodingHextile);
rdr::OutStream* os = writer->getOutStream();
@@ -82,5 +81,4 @@ bool HextileEncoder::writeRect(const Rect& r, TransImageGetter* ig,
break;
}
writer->endRect();
- return true;
}