]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] Use correct settings for 24 bit color depth (Martin Koegler)
authorAdam Tkac <atkac@redhat.com>
Tue, 2 Nov 2010 08:45:30 +0000 (08:45 +0000)
committerAdam Tkac <atkac@redhat.com>
Tue, 2 Nov 2010 08:45:30 +0000 (08:45 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4182 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/xvnc.cc

index 5ce61630a4a113f8156d5f7bde1a8f1ee2c52c85..5e63b34fc1ebb903f953ab7f5b22dfd107c8cf61 100644 (file)
@@ -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;