aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/TightEncoder.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-01-04 16:31:39 +0100
committerPierre Ossman <ossman@cendio.se>2023-01-04 19:17:28 +0100
commita4fa1d7188c5a24dffa80d9b928139eacdc86cd8 (patch)
tree58749abbfca249d11dc40bded508193a37251919 /common/rfb/TightEncoder.h
parent01afd4a74d5f14855679ee710c7229451b9d3ed4 (diff)
downloadtigervnc-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.h2
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);