From: Adam Tkac Date: Tue, 2 Nov 2010 08:45:30 +0000 (+0000) Subject: [Bugfix] Use correct settings for 24 bit color depth (Martin Koegler) X-Git-Tag: v1.0.90~136 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=95ab049fda0f0df3e33cdc485bb3b0cab7f1f121;p=tigervnc.git [Bugfix] Use correct settings for 24 bit color depth (Martin Koegler) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4182 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc index 5ce61630..5e63b34f 100644 --- a/unix/xserver/hw/vnc/xvnc.cc +++ b/unix/xserver/hw/vnc/xvnc.cc @@ -1211,6 +1211,7 @@ vfbScreenInit(int index, ScreenPtr pScreen, int argc, char **argv) pvfb->blueBits = pvfb->redBits = 5; pvfb->greenBits = 6; break; + case 24: case 32: pvfb->pixelFormatDefined = TRUE; pvfb->rgbNotBgr = TRUE;