summaryrefslogtreecommitdiffstats
path: root/perl-install
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 /perl-install
parente1933587d5bda45845e33ebe761fc917ca516fad (diff)
downloaddrakx-backup-do-not-use-257d0a4468311efd5901b1b1080a66e51081dd36.tar
drakx-backup-do-not-use-257d0a4468311efd5901b1b1080a66e51081dd36.tar.gz
drakx-backup-do-not-use-257d0a4468311efd5901b1b1080a66e51081dd36.tar.bz2
drakx-backup-do-not-use-257d0a4468311efd5901b1b1080a66e51081dd36.tar.xz
drakx-backup-do-not-use-257d0a4468311efd5901b1b1080a66e51081dd36.zip
vmware doesn't like 24bpp (bugzilla #9755)
Diffstat (limited to 'perl-install')
-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;