summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-12-03 16:10:50 +0000
committerOlivier Blin <oblin@mandriva.com>2007-12-03 16:10:50 +0000
commite2db2a3c0fedbbf223704dc22d59cdbd716cc279 (patch)
tree01ab861920e2b42d1f3d870bce48f1e156aab302
parent99da0e2b493b2a8fb70bf71e0e44bdfc18310587 (diff)
downloaddrak3d-e2db2a3c0fedbbf223704dc22d59cdbd716cc279.tar
drak3d-e2db2a3c0fedbbf223704dc22d59cdbd716cc279.tar.gz
drak3d-e2db2a3c0fedbbf223704dc22d59cdbd716cc279.tar.bz2
drak3d-e2db2a3c0fedbbf223704dc22d59cdbd716cc279.tar.xz
drak3d-e2db2a3c0fedbbf223704dc22d59cdbd716cc279.zip
do not allow Xgl with intel driver when in 16bits color depth (i810 driver has been renamed as intel)
-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} =