summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-05 10:18:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-05 10:18:08 +0000
commite68bba459fb58242b6d64e3ea03240c677345f9c (patch)
treed9cb65bcd14bc952d1e14e94e2f70eaa85e754fe /perl-install/Xconfig
parent16055ba3cd80cfd4d45f676a8ff13eeeafbdaf87 (diff)
downloaddrakx-backup-do-not-use-e68bba459fb58242b6d64e3ea03240c677345f9c.tar
drakx-backup-do-not-use-e68bba459fb58242b6d64e3ea03240c677345f9c.tar.gz
drakx-backup-do-not-use-e68bba459fb58242b6d64e3ea03240c677345f9c.tar.bz2
drakx-backup-do-not-use-e68bba459fb58242b6d64e3ea03240c677345f9c.tar.xz
drakx-backup-do-not-use-e68bba459fb58242b6d64e3ea03240c677345f9c.zip
allow 24bpp for DRI (since all drivers now support it: we had mga tdfx r128
radeon, and i810 also works (tested on a i865))
Diffstat (limited to 'perl-install/Xconfig')
-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;