diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-01-28 14:13:12 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-07-07 13:27:08 +0200 |
commit | 945cddacef4ff607017cd62f580ea682cbd45806 (patch) | |
tree | 97b2ef9643851907325bd57b6db688117314b056 /common/rfb/tightEncode.h | |
parent | 823665c23920ef0917b2036079b4be2951445e2c (diff) | |
download | tigervnc-945cddacef4ff607017cd62f580ea682cbd45806.tar.gz tigervnc-945cddacef4ff607017cd62f580ea682cbd45806.zip |
Be more consistent in referring to pixel byte streams as buffers
Diffstat (limited to 'common/rfb/tightEncode.h')
-rw-r--r-- | common/rfb/tightEncode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rfb/tightEncode.h b/common/rfb/tightEncode.h index 8f900b58..0c616f53 100644 --- a/common/rfb/tightEncode.h +++ b/common/rfb/tightEncode.h @@ -191,7 +191,7 @@ void TIGHT_ENCODE (const Rect& r, rdr::OutStream *os, bool forceSolid) { int stride; rdr::U32 solidColor; - const PIXEL_T *rawPixels = (const PIXEL_T *)ig->getRawPixelsR(r, &stride); + const PIXEL_T *rawPixels = (const PIXEL_T *)ig->getRawBufferR(r, &stride); PIXEL_T *pixels = NULL; bool grayScaleJPEG = (jpegSubsampling == SUBSAMP_GRAY && jpegQuality != -1); @@ -650,7 +650,7 @@ bool CHECK_SOLID_TILE(Rect& r, rdr::U32 *colorPtr, bool needSameColor) int w = r.width(), h = r.height(); int stride = w; - buf = (const PIXEL_T *)ig->getRawPixelsR(r, &stride); + buf = (const PIXEL_T *)ig->getRawBufferR(r, &stride); colorValue = *buf; if (needSameColor && (rdr::U32)colorValue != *colorPtr) |