summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-13 10:11:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-13 10:11:13 +0000
commit257d0a4468311efd5901b1b1080a66e51081dd36 (patch)
tree28791178b981d52a928427c29b6a38643c361a01
parente1933587d5bda45845e33ebe761fc917ca516fad (diff)
downloaddrakx-257d0a4468311efd5901b1b1080a66e51081dd36.tar
drakx-257d0a4468311efd5901b1b1080a66e51081dd36.tar.gz
drakx-257d0a4468311efd5901b1b1080a66e51081dd36.tar.bz2
drakx-257d0a4468311efd5901b1b1080a66e51081dd36.tar.xz
drakx-257d0a4468311efd5901b1b1080a66e51081dd36.zip
vmware doesn't like 24bpp (bugzilla #9755)
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index 436228d04..6e11536a6 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -85,6 +85,8 @@ sub allowed {
if ($card->{Driver} eq 'fbdev') {
push @resolution_and_depth, grep { $_->{Depth} == 16 } @bios_vga_modes;
+ } elsif ($card->{Driver} eq 'vmware') {
+ push @depths, 16, 8;
} elsif ($card->{Driver} eq 'fglrx') {
$prefered_depth = 24;
push @depths, 24;