summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/resolution_and_depth.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-10-14 03:10:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-10-14 03:10:17 +0000
commit815a12cc5574da37b971ccb4c56966e8cc0a7074 (patch)
tree5385cd5881a49bc45c44247a82b885787f7c45bd /perl-install/Xconfig/resolution_and_depth.pm
parentc389660d66edc180033f4f6ba6e4c3e84012a9f4 (diff)
downloaddrakx-815a12cc5574da37b971ccb4c56966e8cc0a7074.tar
drakx-815a12cc5574da37b971ccb4c56966e8cc0a7074.tar.gz
drakx-815a12cc5574da37b971ccb4c56966e8cc0a7074.tar.bz2
drakx-815a12cc5574da37b971ccb4c56966e8cc0a7074.tar.xz
drakx-815a12cc5574da37b971ccb4c56966e8cc0a7074.zip
even if bugzilla #9755 says 24 bpp is not valid for vmware, Nora Etukudo says the contrary on cooker.
the limitation seems to be "The guest X server must run at the same depth and bpp as the host" which is hard to enforce in XFdrake
Diffstat (limited to 'perl-install/Xconfig/resolution_and_depth.pm')
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index 8e6bb6c52..df72bc31d 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -92,9 +92,7 @@ sub allowed {
@resolution_and_depth = grep { $_->{Depth} == 16 } @bios_vga_modes;
} else {
my @depths;
- if ($card->{Driver} eq 'vmware') {
- @depths = (16, 8);
- } elsif ($card->{Driver} eq 'fglrx') {
+ if ($card->{Driver} eq 'fglrx') {
@depths = 24;
} elsif ($card->{BoardName} eq 'RIVA128') {
@depths = qw(8 15 24);