aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/ComparingUpdateTracker.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-02-06 16:31:10 +0100
committerPierre Ossman <ossman@cendio.se>2014-07-07 14:55:27 +0200
commita32040d7c9972f70272218effbc0242416d417d2 (patch)
treeb6ef6c797262da99af6907154b014a65acb15b60 /common/rfb/ComparingUpdateTracker.cxx
parent2e5a10608394186fd1324c97b17d7f08e0c0aaf6 (diff)
downloadtigervnc-a32040d7c9972f70272218effbc0242416d417d2.tar.gz
tigervnc-a32040d7c9972f70272218effbc0242416d417d2.zip
Provide a better R/W base PixelBuffer class
Clearly separates the read API from the write API and also from actual implementation.
Diffstat (limited to 'common/rfb/ComparingUpdateTracker.cxx')
-rw-r--r--common/rfb/ComparingUpdateTracker.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/rfb/ComparingUpdateTracker.cxx b/common/rfb/ComparingUpdateTracker.cxx
index 8d4311a1..1d27f3c4 100644
--- a/common/rfb/ComparingUpdateTracker.cxx
+++ b/common/rfb/ComparingUpdateTracker.cxx
@@ -157,6 +157,8 @@ void ComparingUpdateTracker::compareRect(const Rect& r, Region* newChanged)
oldData += oldStrideBytes * BLOCK_SIZE;
}
+ oldFb.commitBufferRW(r);
+
if (!changedBlocks.empty()) {
Region temp;
temp.setOrderedRects(changedBlocks);