xserver/GL/mesa/X xf86glx.c,1.5,1.6

David Reveman <xserver-commit-u7BhqnqprCWvj1b/[email protected]> Thu, 23 Jun 2005 03:45:15 -0700 (PDT)
Newsgroups gmane.comp.freedesktop.xserver.cvs
Message-ID <[email protected]>
Committed by: davidr

Update of /cvs/xserver/xserver/GL/mesa/X
In directory gabe:/tmp/cvs-serv11600/GL/mesa/X

Modified Files:
	xf86glx.c 
Log Message:
Mark GLX visuals with 32 planes as non conformant

Index: xf86glx.c
===================================================================
RCS file: /cvs/xserver/xserver/GL/mesa/X/xf86glx.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- xf86glx.c	13 Jun 2005 06:00:35 -0000	1.5
+++ xf86glx.c	23 Jun 2005 10:45:13 -0000	1.6
@@ -759,6 +759,10 @@
 		} else {
 		    glXVisualPtr[j].bufferSize = rootDepth;
 		}
+#ifdef COMPOSITE
+		if (pVisual[i].nplanes == 32)
+		    glXVisualPtr[j].visualRating = GLX_NON_CONFORMANT_CONFIG;
+#endif
 	    }
 
 	    /* Save the device-dependent private for this visual */