diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-03-08 16:53:07 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-03-08 16:53:07 +0000 |
commit | a273934db1bf1a599fb45f7e5e74436cdac99748 (patch) | |
tree | f840f0110aa4e8a137b5296d08470d01b951519b /unix | |
parent | 90a57dad03ba2192ce9bef8feb66504dc7be0a05 (diff) | |
download | tigervnc-a273934db1bf1a599fb45f7e5e74436cdac99748.tar.gz tigervnc-a273934db1bf1a599fb45f7e5e74436cdac99748.zip |
Split out the pixel format conversion magic to its own class and make
TransImageGetter be just an ImageGetter interface to that functionality. This
allows more flexible use of the pixel conversion routines.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4338 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tx/TXImage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tx/TXImage.cxx b/unix/tx/TXImage.cxx index 3e1a98e2..db20d6f3 100644 --- a/unix/tx/TXImage.cxx +++ b/unix/tx/TXImage.cxx @@ -165,7 +165,7 @@ void TXImage::setColourMapEntries(int firstColour, int nColours, rdr::U16* rgbs) void TXImage::updateColourMap() { if (tig != 0) - tig->setColourMapEntries(0, 0, 0); + tig->setColourMapEntries(0, 0); } void TXImage::lookup(int index, int* r, int* g, int* b) |