From f954a55773a5edd7ea815699218575eea41f4869 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 4 Sep 2003 09:05:02 +0000 Subject: XF 3.3 should use depth 16 if use_UTAH_GLX, this has been glitched in XF4 mode (so never available). --- perl-install/Xconfig/resolution_and_depth.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install') 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 } -- cgit v1.2.1