summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/resolution_and_depth.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-04 09:05:02 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-04 09:05:02 +0000
commitf954a55773a5edd7ea815699218575eea41f4869 (patch)
treeb4932a7dca3bd77fb4e5725f5f712317b152a861 /perl-install/Xconfig/resolution_and_depth.pm
parent119c3a87a022ca39a985551af07ac133ab6149ed (diff)
downloaddrakx-f954a55773a5edd7ea815699218575eea41f4869.tar
drakx-f954a55773a5edd7ea815699218575eea41f4869.tar.gz
drakx-f954a55773a5edd7ea815699218575eea41f4869.tar.bz2
drakx-f954a55773a5edd7ea815699218575eea41f4869.tar.xz
drakx-f954a55773a5edd7ea815699218575eea41f4869.zip
XF 3.3 should use depth 16 if use_UTAH_GLX, this has been glitched in XF4 mode
(so never available).
Diffstat (limited to 'perl-install/Xconfig/resolution_and_depth.pm')
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index 5d448572a..16c2f9acc 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -84,11 +84,14 @@ 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) {
- if ($card->{use_DRI_GLX} || $card->{use_UTAH_GLX}) {
+ if ($card->{use_DRI_GLX}) {
$prefered_depth = 16;
push @depths, 16;
push @depths, 24 if member($card->{Driver}, 'mga', 'tdfx', 'r128', 'radeon');
}
+ } elsif ($card->{use_UTAH_GLX}) {
+ $prefered_depth = 16;
+ push @depths, 16;
} else {
if ($card->{server} eq 'Sun24') { push @depths, 24, 8, 2 }
elsif ($card->{server} eq 'Sun') { push @depths, 8, 2 }