diff options
author | Adam Tkac <atkac@redhat.com> | 2010-11-02 08:45:30 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-11-02 08:45:30 +0000 |
commit | 95ab049fda0f0df3e33cdc485bb3b0cab7f1f121 (patch) | |
tree | 2e04e74faf1d842b70c20db83f0e0fea637765ca /unix | |
parent | 1fe4690a59e876e9f2282b0141bbd1230aecf3ee (diff) | |
download | tigervnc-95ab049fda0f0df3e33cdc485bb3b0cab7f1f121.tar.gz tigervnc-95ab049fda0f0df3e33cdc485bb3b0cab7f1f121.zip |
[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
Diffstat (limited to 'unix')
-rw-r--r-- | unix/xserver/hw/vnc/xvnc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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; |