commit | 6ba9e1ae27d2ddd5026ced5c3fe479be982fdb32 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Wed Mar 25 12:27:38 2009 +0000 |
committer | Pierre Ossman <ossman@cendio.se> | Wed Mar 25 12:27:38 2009 +0000 |
tree | ee128d1fed5204c214aa38d82b18d8ed5c803a46 | |
parent | 38a6be484babd3a67e07e22c6fdd95e1c99fbe0c [diff] [blame] |
Needs to be true colour to be 888. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3720 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/PixelFormat.cxx b/common/rfb/PixelFormat.cxx index 4221e44..e8cb1a2 100644 --- a/common/rfb/PixelFormat.cxx +++ b/common/rfb/PixelFormat.cxx
@@ -102,6 +102,8 @@ bool PixelFormat::is888(void) const { + if (!trueColour) + return false; if (bpp != 32) return false; if (depth != 24)