[cairo-commit] glitz/src/wgl glitz_wgl_format.c,1.1,1.2

David Reveman commit at pdx.freedesktop.org
Tue Nov 29 14:41:29 PST 2005


Committed by: davidr

Update of /cvs/cairo/glitz/src/wgl
In directory gabe:/tmp/cvs-serv1190/src/wgl

Modified Files:
	glitz_wgl_format.c 
Log Message:
Add YUV surfaces

Index: glitz_wgl_format.c
===================================================================
RCS file: /cvs/cairo/glitz/src/wgl/glitz_wgl_format.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- glitz_wgl_format.c	9 Nov 2005 12:32:24 -0000	1.1
+++ glitz_wgl_format.c	29 Nov 2005 22:41:27 -0000	1.2
@@ -51,6 +51,9 @@
 
     for (; i < 2; i++)
     {
+	if (format[i]->d.color.fourcc != GLITZ_FOURCC_RGB)
+	    score[i] -= 1000;
+
 	if (format[i]->d.color.red_size)
 	{
 	    if (format[i]->d.color.red_size >= 8)



More information about the cairo-commit mailing list