From 6ba9e1ae27d2ddd5026ced5c3fe479be982fdb32 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 25 Mar 2009 12:27:38 +0000 Subject: [PATCH] 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 --- common/rfb/PixelFormat.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/rfb/PixelFormat.cxx b/common/rfb/PixelFormat.cxx index 4221e448..e8cb1a21 100644 --- a/common/rfb/PixelFormat.cxx +++ b/common/rfb/PixelFormat.cxx @@ -102,6 +102,8 @@ void PixelFormat::write(rdr::OutStream* os) const bool PixelFormat::is888(void) const { + if (!trueColour) + return false; if (bpp != 32) return false; if (depth != 24) -- 2.39.5