diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-01-04 16:31:39 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-01-04 19:17:28 +0100 |
commit | a4fa1d7188c5a24dffa80d9b928139eacdc86cd8 (patch) | |
tree | 58749abbfca249d11dc40bded508193a37251919 /common/rfb/TightEncoder.h | |
parent | 01afd4a74d5f14855679ee710c7229451b9d3ed4 (diff) | |
download | tigervnc-a4fa1d7188c5a24dffa80d9b928139eacdc86cd8.tar.gz tigervnc-a4fa1d7188c5a24dffa80d9b928139eacdc86cd8.zip |
Don't include palette to full color methods
They have no need for it, so let's simplify things.
Diffstat (limited to 'common/rfb/TightEncoder.h')
-rw-r--r-- | common/rfb/TightEncoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/TightEncoder.h b/common/rfb/TightEncoder.h index 7bce2642..b96bc4c6 100644 --- a/common/rfb/TightEncoder.h +++ b/common/rfb/TightEncoder.h @@ -43,7 +43,7 @@ namespace rfb { protected: void writeMonoRect(const PixelBuffer* pb, const Palette& palette); void writeIndexedRect(const PixelBuffer* pb, const Palette& palette); - void writeFullColourRect(const PixelBuffer* pb, const Palette& palette); + void writeFullColourRect(const PixelBuffer* pb); void writePixels(const rdr::U8* buffer, const PixelFormat& pf, unsigned int count, rdr::OutStream* os); |