commit | 95ab049fda0f0df3e33cdc485bb3b0cab7f1f121 | [log] [tgz] |
---|---|---|
author | Adam Tkac <atkac@redhat.com> | Tue Nov 02 08:45:30 2010 +0000 |
committer | Adam Tkac <atkac@redhat.com> | Tue Nov 02 08:45:30 2010 +0000 |
tree | 2e04e74faf1d842b70c20db83f0e0fea637765ca | |
parent | 1fe4690a59e876e9f2282b0141bbd1230aecf3ee [diff] |
[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 5ce6163..5e63b34 100644 --- a/unix/xserver/hw/vnc/xvnc.cc +++ b/unix/xserver/hw/vnc/xvnc.cc
@@ -1211,6 +1211,7 @@ pvfb->blueBits = pvfb->redBits = 5; pvfb->greenBits = 6; break; + case 24: case 32: pvfb->pixelFormatDefined = TRUE; pvfb->rgbNotBgr = TRUE;