diff options
author | Francois Pons <fpons@mandriva.com> | 2003-09-11 14:42:54 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-09-11 14:42:54 +0000 |
commit | 245e67dc73ec39f5981e0c8b2f6f5afeeab02293 (patch) | |
tree | 2e746006f38e5de6d80a549aa4e9703714bfe97d /perl-install | |
parent | c0b6bf736c71691312e9dd60cbbfd7b41e6e6e10 (diff) | |
download | drakx-245e67dc73ec39f5981e0c8b2f6f5afeeab02293.tar drakx-245e67dc73ec39f5981e0c8b2f6f5afeeab02293.tar.gz drakx-245e67dc73ec39f5981e0c8b2f6f5afeeab02293.tar.bz2 drakx-245e67dc73ec39f5981e0c8b2f6f5afeeab02293.tar.xz drakx-245e67dc73ec39f5981e0c8b2f6f5afeeab02293.zip |
fixed depth to 24 when using driver fglrx (it won't work unless 24 bits)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/Xconfig/resolution_and_depth.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm index 3a2f9631c..d055ee42e 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -83,6 +83,9 @@ sub allowed { if ($using_xf4 ? $card->{Driver} eq 'fbdev' : $card->{server} eq 'FBDev') { push @resolution_and_depth, grep { $_->{Depth} == 16 } @bios_vga_modes; + } elsif ($using_xf4 && $card->{Driver} eq 'fglrx') { + $prefered_depth = 24; + push @depths, 24; } elsif ($using_xf4) { if ($card->{use_DRI_GLX}) { $prefered_depth = 16; |