Index: Xrender.c =================================================================== RCS file: /cvs/xlibs/Xrender/Xrender.c,v retrieving revision 1.19 diff -u -r1.19 Xrender.c --- Xrender.c 18 Jun 2005 05:09:56 -0000 1.19 +++ Xrender.c 2 Jul 2006 09:21:59 -0000 @@ -732,6 +732,34 @@ PictFormatBlueMask | PictFormatAlphaMask, }, + /* PictStandardBGR24 */ + { + { + 0, /* id */ + PictTypeDirect, /* type */ + 24, /* depth */ + { /* direct */ + 0, /* direct.red */ + 0xff, /* direct.redMask */ + 8, /* direct.green */ + 0xff, /* direct.greenMask */ + 16, /* direct.blue */ + 0xff, /* direct.blueMask */ + 0, /* direct.alpha */ + 0x00, /* direct.alphaMask */ + }, + 0, + }, + PictFormatType | + PictFormatDepth | + PictFormatRed | + PictFormatRedMask | + PictFormatGreen | + PictFormatGreenMask | + PictFormatBlue | + PictFormatBlueMask | + PictFormatAlphaMask, + }, /* PictStandardA8 */ { { Index: Xrender.h =================================================================== RCS file: /cvs/xlibs/Xrender/Xrender.h,v retrieving revision 1.22 diff -u -r1.22 Xrender.h --- Xrender.h 29 Jun 2005 11:55:17 -0000 1.22 +++ Xrender.h 2 Jul 2006 09:21:59 -0000 @@ -224,10 +224,11 @@ #define PictStandardARGB32 0 #define PictStandardRGB24 1 -#define PictStandardA8 2 -#define PictStandardA4 3 -#define PictStandardA1 4 -#define PictStandardNUM 5 +#define PictStandardBGR24 2 +#define PictStandardA8 3 +#define PictStandardA4 4 +#define PictStandardA1 5 +#define PictStandardNUM 6 XRenderPictFormat * XRenderFindStandardFormat (Display *dpy,