diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-02-06 16:31:10 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-07-07 14:55:27 +0200 |
commit | a32040d7c9972f70272218effbc0242416d417d2 (patch) | |
tree | b6ef6c797262da99af6907154b014a65acb15b60 /common/rfb/ComparingUpdateTracker.cxx | |
parent | 2e5a10608394186fd1324c97b17d7f08e0c0aaf6 (diff) | |
download | tigervnc-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.cxx | 2 |
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); |