summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/card.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-05 13:00:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-05 13:00:57 +0000
commit785fde46bf0a4d82de03aba4e15e72940deb3d13 (patch)
tree15895b673315f99c5a18bf6e89e15f5d6ad61f52 /perl-install/Xconfig/card.pm
parent702cdc125f15912898fe9d2e649859581169db50 (diff)
downloaddrakx-backup-do-not-use-785fde46bf0a4d82de03aba4e15e72940deb3d13.tar
drakx-backup-do-not-use-785fde46bf0a4d82de03aba4e15e72940deb3d13.tar.gz
drakx-backup-do-not-use-785fde46bf0a4d82de03aba4e15e72940deb3d13.tar.bz2
drakx-backup-do-not-use-785fde46bf0a4d82de03aba4e15e72940deb3d13.tar.xz
drakx-backup-do-not-use-785fde46bf0a4d82de03aba4e15e72940deb3d13.zip
fix Option's (especially for XFree3)
Diffstat (limited to 'perl-install/Xconfig/card.pm')
-rw-r--r--perl-install/Xconfig/card.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index 4ef5fdce9..3279e10c4 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -135,7 +135,7 @@ sub probe() {
else { internal_error() }
$_->{VideoRam} = 4096 if $_->{Driver} eq 'i810';
- $_->{Options_xfree4}{UseFBDev} = "on" if arch =~ /ppc/ && $_->{Driver} eq 'r128';
+ $_->{Options_xfree4}{UseFBDev} = undef if arch =~ /ppc/ && $_->{Driver} eq 'r128';
$card;
} @c;
@@ -459,12 +459,12 @@ sub set_glx_restrictions {
#- hack for ATI Mach64 cards where two options should be used if using Utah-GLX.
if (member($card->{card_name}, 'ATI Mach64 Utah', 'ATI Rage Mobility')) {
- $card->{Options_xfree3}{no_font_cache} = $card->{use_UTAH_GLX};
- $card->{Options_xfree3}{no_pixmap_cache} = $card->{use_UTAH_GLX};
+ $card->{Options_xfree3}{no_font_cache} = undef if $card->{use_UTAH_GLX};
+ $card->{Options_xfree3}{no_pixmap_cache} = undef if $card->{use_UTAH_GLX};
}
#- hack for SiS cards where an option should be used if using Utah-GLX.
if (member($card->{card_name}, 'SiS 6326', 'SiS 630')) {
- $card->{Options_xfree3}{no_pixmap_cache} = $card->{use_UTAH_GLX};
+ $card->{Options_xfree3}{no_pixmap_cache} = undef if $card->{use_UTAH_GLX};
}
#- 3D acceleration configuration for XFree 4 using DRI, this is enabled by default