]> source.dussan.org Git - tigervnc.git/commitdiff
Use a 24-bit framebuffer by default. This is what's commonly used today and
authorPierre Ossman <ossman@cendio.se>
Fri, 6 Mar 2009 15:39:44 +0000 (15:39 +0000)
committerPierre Ossman <ossman@cendio.se>
Fri, 6 Mar 2009 15:39:44 +0000 (15:39 +0000)
it's a format that's easier to handle efficiently in the encoders.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3639 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/Xvnc.man
unix/xserver/hw/vnc/xvnc.cc

index da7cba83df6ad45ae890bcddc0eba4d2bfd50957..a831ddda8e0d2764fe2d0f78eec94bc10f661ad3 100644 (file)
@@ -36,8 +36,8 @@ Specify the size of the desktop to be created. Default is 1024x768.
 
 .TP
 .B \-depth \fIdepth\fP
-Specify the pixel depth in bits of the desktop to be created. Default is 16,
-other possible values are 8, 15, and 24 - anything else is likely to cause
+Specify the pixel depth in bits of the desktop to be created. Default is 24,
+other possible values are 8, 15, and 16 - anything else is likely to cause
 strange behaviour by applications.
 
 .TP
index 649506725c33690265dd3ac6d0e310e679a23e27..9087ff0849a76a1c3a4c5ee5f3cbc28ba4891e9f 100644 (file)
@@ -98,7 +98,7 @@ extern int monitorResolution;
 
 #define VFB_DEFAULT_WIDTH  1024
 #define VFB_DEFAULT_HEIGHT 768
-#define VFB_DEFAULT_DEPTH  16
+#define VFB_DEFAULT_DEPTH  24
 #define VFB_DEFAULT_WHITEPIXEL 0xffff
 #define VFB_DEFAULT_BLACKPIXEL 0
 #define VFB_DEFAULT_LINEBIAS 0