diff options
Diffstat (limited to 'common/rfb/tightDecode.h')
-rw-r--r-- | common/rfb/tightDecode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/rfb/tightDecode.h b/common/rfb/tightDecode.h index e9f5f6ba..fb39d996 100644 --- a/common/rfb/tightDecode.h +++ b/common/rfb/tightDecode.h @@ -156,7 +156,7 @@ void TIGHT_DECODE (const Rect& r) PIXEL_T *buf; int stride = r.width(); - if (directDecode) buf = (PIXEL_T *)handler->getRawPixelsRW(r, &stride); + if (directDecode) buf = (PIXEL_T *)handler->getRawBufferRW(r, &stride); else buf = (PIXEL_T *)reader->getImageBuf(r.area()); if (palSize == 0) { @@ -228,7 +228,7 @@ void TIGHT_DECODE (const Rect& r) } } - if (directDecode) handler->releaseRawPixels(r); + if (directDecode) handler->releaseRawBuffer(r); else IMAGE_RECT(r, buf); delete [] netbuf; @@ -256,10 +256,10 @@ DECOMPRESS_JPEG_RECT(const Rect& r) // We always use direct decoding with JPEG images int stride; - rdr::U8 *buf = handler->getRawPixelsRW(r, &stride); + rdr::U8 *buf = handler->getRawBufferRW(r, &stride); jd.decompress(netbuf, compressedLen, buf, stride * clientpf.bpp / 8, r, clientpf); - handler->releaseRawPixels(r); + handler->releaseRawBuffer(r); delete [] netbuf; } |