From 9122b5609b501554a312d851e9433a0d2a081491 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 14 Aug 2001 14:35:19 +0000 Subject: fix automatic configuration --- perl-install/Xconfigurator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/Xconfigurator.pm') diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index d8513507b..9349a8e4e 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -860,7 +860,7 @@ sub resolutionsConfiguration { #- there could be a problem. #- memory in KB is approximated by $wres*$dpeth/14 which is little less #- than memory really used, (correct factor is 13.65333 for w/h ratio of 1.33333). - if (!$wres || $auto && ($wres < 1024 && ($card->{memory} / ($wres * $depth / 14)) > 2)) { + if (!$wres || $auto && ref($in) !~ /class_discard/ && ($wres < 1024 && ($card->{memory} / ($wres * $depth / 14)) > 2)) { delete $card->{depth}; return resolutionsConfiguration($o); } -- cgit v1.2.1