summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/card.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-05 12:51:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-05 12:51:38 +0000
commite49f774b3f8bb8ce6f4827ed2b14f5cfbd614d28 (patch)
tree36bed17507e9300b83422f578fc9c9b3eeda6828 /perl-install/Xconfig/card.pm
parent2c737e924e4d5de66b8d400a14175c90c542e1b3 (diff)
downloaddrakx-backup-do-not-use-e49f774b3f8bb8ce6f4827ed2b14f5cfbd614d28.tar
drakx-backup-do-not-use-e49f774b3f8bb8ce6f4827ed2b14f5cfbd614d28.tar.gz
drakx-backup-do-not-use-e49f774b3f8bb8ce6f4827ed2b14f5cfbd614d28.tar.bz2
drakx-backup-do-not-use-e49f774b3f8bb8ce6f4827ed2b14f5cfbd614d28.tar.xz
drakx-backup-do-not-use-e49f774b3f8bb8ce6f4827ed2b14f5cfbd614d28.zip
don't have Utah GLX the default. XFree4 is the default
Diffstat (limited to 'perl-install/Xconfig/card.pm')
-rw-r--r--perl-install/Xconfig/card.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index c0b4ea827..4ef5fdce9 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -402,13 +402,14 @@ sub xfree_and_glx_choices {
#- try to figure if 3D acceleration is supported
#- by XFree 3.3 but not XFree 4 then ask user to keep XFree 3.3 ?
if ($card->{UTAH_GLX}) {
- unshift @choices, { text => _("XFree %s with 3D hardware acceleration", $xf3_ver),
+ my $e = { text => _("XFree %s with 3D hardware acceleration", $xf3_ver),
code => sub { $card->{prefer_xf3} = 1; $card->{use_UTAH_GLX} = 1 },
more_messages => ($card->{Driver} && !$card->{DRI_GLX} ?
_("Your card can have 3D hardware acceleration support but only with XFree %s.
Your card is supported by XFree %s which may have a better support in 2D.", $xf3_ver, $xf4_ver) :
_("Your card can have 3D hardware acceleration support with XFree %s.", $xf3_ver)),
};
+ $card->{prefer_xf3} ? unshift(@choices, $e) : push(@choices, $e);
}
#- an expert user may want to try to use an EXPERIMENTAL 3D acceleration, currenlty