summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-16 12:37:00 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-16 12:37:00 +0100
commit814ca2b58ddd0d2e6d1e7d33889612ae01640a9f (patch)
tree3ed0812c3a534f520ab6c6e584241a3119285f5a
parent7f5dae50ba4c0617d677f524f1c1b73290086485 (diff)
Fix constant in CONVERT_0565_TO_8888, it had to many zerosalex-scaler
-rw-r--r--pixman/pixman-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index 3e79821..cbada3d 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -707,7 +707,7 @@ pixman_region16_copy_from_region32 (pixman_region16_t *dst,
((((s) << 5) & 0xfc00) | (((s) >> 1) & 0x300)) | \
((((s) << 8) & 0xf80000) | (((s) << 3) & 0x70000)))
-#define CONVERT_0565_TO_8888(s) (CONVERT_0565_TO_0888(s) | 0xff0000000)
+#define CONVERT_0565_TO_8888(s) (CONVERT_0565_TO_0888(s) | 0xff000000)
/* Trivial versions that are useful in macros */
#define CONVERT_8888_TO_8888(s) s