summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-11 13:50:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-11 13:50:14 +0000
commitdcb63e5dffda418a6364955b6a524e31120cba9d (patch)
treefe95fa81e28e06f37bf76b76393fd10f225c4df0 /lib/Xconfig/card.pm
parent6daaf9c13c8a5bf8eb0fca78a2cf3672d62b1a89 (diff)
downloaddrakx-kbd-mouse-x11-dcb63e5dffda418a6364955b6a524e31120cba9d.tar
drakx-kbd-mouse-x11-dcb63e5dffda418a6364955b6a524e31120cba9d.tar.gz
drakx-kbd-mouse-x11-dcb63e5dffda418a6364955b6a524e31120cba9d.tar.bz2
drakx-kbd-mouse-x11-dcb63e5dffda418a6364955b6a524e31120cba9d.tar.xz
drakx-kbd-mouse-x11-dcb63e5dffda418a6364955b6a524e31120cba9d.zip
- XFdrake
o handle DRIVER2_NO_SSE (from Cards+), needed by nvidia-current requiring SSE
Diffstat (limited to 'lib/Xconfig/card.pm')
-rw-r--r--lib/Xconfig/card.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index c65c641..5ad3179 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -294,6 +294,7 @@ sub install_server {
if ($card->{Driver2}) {
require Xconfig::proprietary;
+ Xconfig::proprietary::handle_DRIVER2_NO_SSE($card);
my @pkgs = Xconfig::proprietary::pkgs_for_Driver2($card->{Driver2}, $do_pkgs);
if (@pkgs && (!$o_in || $o_in->ask_yesorno('', formatAlaTeX(N("There is a proprietary driver available for your video card which may support additional features.
Do you wish to use it?")), 1))) {
@@ -461,6 +462,7 @@ sub readCardsDB {
CHIPSET => sub { $card->{Chipset} = $val },
DRIVER => sub { $card->{Driver} = $val },
DRIVER2 => sub { $card->{Driver2} = $val },
+ DRIVER2_NO_SSE => sub { $card->{DRIVER2_NO_SSE} = $val },
NEEDVIDEORAM => sub { $card->{needVideoRam} = 1 },
DRI_GLX => sub { $card->{DRI_GLX} = 1 if $card->{Driver} },
DRI_GLX_EXPERIMENTAL => sub { $card->{DRI_GLX_EXPERIMENTAL} = 1 if $card->{Driver} },