summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-05-09 12:46:53 +0000
committerAdam Jackson <ajax@nwnk.net>2005-05-09 12:46:53 +0000
commiteca5dff173d5af0a31bbf84579909b88a86e4c92 (patch)
tree118f8015569ec00f217729a680d6f7d90014548c /render
parent2de24db63eb65974ac547facf2a99aa4709d54b3 (diff)
Render performance improvements. (Lars Knoll, Zack Rusin)
Diffstat (limited to 'render')
-rw-r--r--render/picture.h6
1 files 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)