xserver/hw/xgl xglcmap.c,1.5,1.6

Dave Airlie xserver-commit at pdx.freedesktop.org
Thu Dec 22 15:31:17 PST 2005


Committed by: airlied

Update of /cvs/xserver/xserver/hw/xgl
In directory gabe:/home/airlied/test/xserver/hw/xgl

Modified Files:
	xglcmap.c 
Log Message:
small fix towards new glitz interface


Index: xglcmap.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/xgl/xglcmap.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- xglcmap.c	11 Mar 2005 00:58:49 -0000	1.5
+++ xglcmap.c	22 Dec 2005 23:31:15 -0000	1.6
@@ -269,7 +269,7 @@
 		do {
 		    format = glitz_find_format (pScreenPriv->drawable,
 						0, NULL, k++);
-		    if (format && format->type == GLITZ_FORMAT_TYPE_COLOR)
+		    if (format && format->color.fourcc == GLITZ_FOURCC_RGB)
 		    {
 			/* find best matching sufficient format */
 			if (format->color.red_size   >= rs &&



More information about the xserver-commit mailing list