summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-21 06:54:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-21 06:54:03 +0000
commitc6c92c3ebe36909f04b63c815bb6e11d26dba5fa (patch)
treeaf813ac8abf8255cae921c5ac28f37af6cfc6ebe
parentbf3ef05428764fbc3ffca98d8b442e19bec8a4d6 (diff)
downloaddrakx-kbd-mouse-x11-c6c92c3ebe36909f04b63c815bb6e11d26dba5fa.tar
drakx-kbd-mouse-x11-c6c92c3ebe36909f04b63c815bb6e11d26dba5fa.tar.gz
drakx-kbd-mouse-x11-c6c92c3ebe36909f04b63c815bb6e11d26dba5fa.tar.bz2
drakx-kbd-mouse-x11-c6c92c3ebe36909f04b63c815bb6e11d26dba5fa.tar.xz
drakx-kbd-mouse-x11-c6c92c3ebe36909f04b63c815bb6e11d26dba5fa.zip
- fix displaying "3D hardware acceleration: no" for nvidia proprietary driver
(#31326)
-rw-r--r--NEWS3
-rw-r--r--lib/Xconfig/various.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d6336c6..b137693 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- fix displaying "3D hardware acceleration: no" for nvidia proprietary driver
+ (#31326)
+
Version 0.18 - 14 June 2007, by Pascal "Pixel" Rigaux
- handle resolution switch via xrandr without restarting X (#30896)
diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm
index 4e6b858..081005c 100644
--- a/lib/Xconfig/various.pm
+++ b/lib/Xconfig/various.pm
@@ -23,7 +23,7 @@ sub info {
my $device = eval { $raw_X->get_device } || {};
my $mouse = eval { first($raw_X->get_mice) } || {};
- $info .= N("3D hardware acceleration: %s\n", translate(bool2yesno($card->{use_DRI_GLX})));
+ $info .= N("3D hardware acceleration: %s\n", translate(bool2yesno($card->{use_DRI_GLX} || $card->{DRI_GLX_SPECIAL})));
$info .= N("Keyboard layout: %s\n", $keyboard->{XkbLayout});
$info .= N("Mouse type: %s\n", $mouse->{Protocol});
foreach my $monitor (@monitors) {