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

Vladimir Vukicevic commit at pdx.freedesktop.org
Mon Dec 12 11:06:57 PST 2005


Committed by: vladimir

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

Modified Files:
	glitz_wgl_format.c 
Log Message:
src/wgl/glitz_wgl_format.c: Set GLITZ_FOURCC_RGB on all formats

Index: glitz_wgl_format.c
===================================================================
RCS file: /cvs/cairo/glitz/src/wgl/glitz_wgl_format.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- glitz_wgl_format.c	29 Nov 2005 22:41:27 -0000	1.2
+++ glitz_wgl_format.c	12 Dec 2005 19:06:55 -0000	1.3
@@ -175,6 +175,7 @@
 	format.d.color.green_size = pfd.cGreenBits;
 	format.d.color.blue_size = pfd.cBlueBits;
 	format.d.color.alpha_size = pfd.cAlphaBits;
+	format.d.color.fourcc = GLITZ_FOURCC_RGB;
 
 	format.d.depth_size = pfd.cDepthBits;
 	format.d.stencil_size = pfd.cStencilBits;
@@ -210,6 +211,7 @@
     for (i = 1; i <= num_pixel_formats; i++) {
 	format.d.id = 0;
 	format.types = 0;
+	format.d.color.fourcc = GLITZ_FOURCC_RGB;
 
 #define ASK_QUESTION(q,a) (question=(q),wgl->get_pixel_format_attrib_iv (screen_info->root_dc, i, 0, 1, &question,(a)))
 



More information about the cairo-commit mailing list