[xserver-commit] xserver/include picture.h,1.21,1.22

Eric Anholt xserver-commit@pdx.freedesktop.org
Sun, 04 Jan 2004 14:44:44 -0800


Committed by: anholt

Update of /cvs/xserver/xserver/include
In directory pdx:/home/anholt/xserver/include

Modified Files:
	picture.h 
Log Message:
Fix PICT_x4r4g4b4 and PICT_xb4g4r4 definitions' alpha.


Index: picture.h
===================================================================
RCS file: /cvs/xserver/xserver/include/picture.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- picture.h	2 Nov 2003 19:56:10 -0000	1.21
+++ picture.h	4 Jan 2004 22:44:42 -0000	1.22
@@ -86,9 +86,9 @@
 #define PICT_a1b5g5r5	PICT_FORMAT(16,PICT_TYPE_ABGR,1,5,5,5)
 #define PICT_x1b5g5r5	PICT_FORMAT(16,PICT_TYPE_ABGR,0,5,5,5)
 #define PICT_a4r4g4b4	PICT_FORMAT(16,PICT_TYPE_ARGB,4,4,4,4)
-#define PICT_x4r4g4b4	PICT_FORMAT(16,PICT_TYPE_ARGB,4,4,4,4)
+#define PICT_x4r4g4b4	PICT_FORMAT(16,PICT_TYPE_ARGB,0,4,4,4)
 #define PICT_a4b4g4r4	PICT_FORMAT(16,PICT_TYPE_ARGB,4,4,4,4)
-#define PICT_x4b4g4r4	PICT_FORMAT(16,PICT_TYPE_ARGB,4,4,4,4)
+#define PICT_x4b4g4r4	PICT_FORMAT(16,PICT_TYPE_ARGB,0,4,4,4)
 
 /* 8bpp formats */
 #define PICT_a8		PICT_FORMAT(8,PICT_TYPE_A,8,0,0,0)