summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Xconfig/glx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/glx.pm b/lib/Xconfig/glx.pm
index dfae51f..29644b1 100644
--- a/lib/Xconfig/glx.pm
+++ b/lib/Xconfig/glx.pm
@@ -159,7 +159,7 @@ sub get_glx_status {
member('GLX_MESA_allocate_memory', @{$system_glx_info->{extensions}{GLX}})
) && (
#- Xgl turns black with i810 and 16 bits
- $driver ne 'i810' || $resolution->{Depth} eq '24'
+ !member($driver, 'i810', 'intel') || $resolution->{Depth} eq '24'
);
$glx_status->{capabilities}{native} =