From a32040d7c9972f70272218effbc0242416d417d2 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 6 Feb 2014 16:31:10 +0100 Subject: Provide a better R/W base PixelBuffer class Clearly separates the read API from the write API and also from actual implementation. --- vncviewer/CConn.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vncviewer/CConn.cxx') 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); } -- cgit v1.2.3