summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2012-03-01 02:24:54 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2012-03-01 23:49:51 -0500
commit999e72b80bd5e3fab5f45b6ad19511389b58d9ab (patch)
treecf9a6366a7ce93c79e14e5b57afe37ed727e9901
parentc0cb48aae0d09200a187965094138fbf488498cd (diff)
pixman-access.c: Remove some unused macros
The macros related to palette entries: RGB15_TO_ENTRY, RGB24_TO_ENTRY, RGB24_TO_ENTRY_Y are not used anywhere.
-rw-r--r--pixman/pixman-access.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/pixman/pixman-access.c b/pixman/pixman-access.c
index 189b191..6743887 100644
--- a/pixman/pixman-access.c
+++ b/pixman/pixman-access.c
@@ -45,15 +45,6 @@
(((s) >> 6) & 0x03e0) | \
(((s) >> 9) & 0x7c00))
-#define RGB15_TO_ENTRY(mif,rgb15) \
- ((mif)->ent[rgb15])
-
-#define RGB24_TO_ENTRY(mif,rgb24) \
- RGB15_TO_ENTRY (mif,CONVERT_RGB24_TO_RGB15 (rgb24))
-
-#define RGB24_TO_ENTRY_Y(mif,rgb24) \
- ((mif)->ent[CONVERT_RGB24_TO_Y15 (rgb24)])
-
/* Fetch macros */
#ifdef WORDS_BIGENDIAN