summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/resolution_and_depth.pm
diff options
context:
space:
mode:
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 }