From eca5dff173d5af0a31bbf84579909b88a86e4c92 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 9 May 2005 12:46:53 +0000 Subject: [PATCH] Render performance improvements. (Lars Knoll, Zack Rusin) --- render/picture.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/render/picture.h b/render/picture.h index e348be8bb..b09d9aac2 100644 --- a/render/picture.h +++ b/render/picture.h @@ -86,9 +86,9 @@ typedef struct _Picture *PicturePtr; #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_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_x4r4g4b4 PICT_FORMAT(16,PICT_TYPE_ARGB,0,4,4,4) +#define PICT_a4b4g4r4 PICT_FORMAT(16,PICT_TYPE_ABGR,4,4,4,4) +#define PICT_x4b4g4r4 PICT_FORMAT(16,PICT_TYPE_ABGR,0,4,4,4) /* 8bpp formats */ #define PICT_a8 PICT_FORMAT(8,PICT_TYPE_A,8,0,0,0)