summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index 7c115bd63..532b0e335 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -94,8 +94,7 @@ sub allowed {
} elsif ($using_xf4) {
if ($card->{use_DRI_GLX}) {
$prefered_depth = 16;
- push @depths, 16;
- push @depths, 24 if member($card->{Driver}, 'mga', 'tdfx', 'r128', 'radeon');
+ push @depths, 16, 24;
}
} elsif ($card->{use_UTAH_GLX}) {
$prefered_depth = 16;