summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {