aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/CConn.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 /vncviewer/CConn.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 'vncviewer/CConn.cxx')
-rw-r--r--vncviewer/CConn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx
index db1a08a5..c78bb891 100644
--- a/vncviewer/CConn.cxx
+++ b/vncviewer/CConn.cxx
@@ -470,7 +470,7 @@ rdr::U8* CConn::getRawBufferRW(const rfb::Rect& r, int* stride) {
return desktop->getBufferRW(r, stride);
}
void CConn::releaseRawBuffer(const rfb::Rect& r) {
- desktop->damageRect(r);
+ desktop->commitBufferRW(r);
}