summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-27 12:01:56 -0700
committerKeith Packard <keithp@keithp.com>2011-04-27 12:01:56 -0700
commitec9ea4017885cefe5519a4e890b0ff1a5518235a (patch)
tree7cc36fe3998133adf8417a2479c0853e1a0f08ac /render
parentc6cb70be1ed7cf73bd3411b8d66ec05a9efcfeb9 (diff)
parent6f29dbf5e36bef5ecb08f02d367988dee0f9f1cd (diff)
Merge remote-tracking branch 'jeremyhu/master'
Diffstat (limited to 'render')
-rw-r--r--render/picture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/picture.c b/render/picture.c
index 49e83ed05..5640c4d96 100644
--- a/render/picture.c
+++ b/render/picture.c
@@ -158,7 +158,7 @@ addFormat (FormatInitRec formats[256],
return ++nformat;
}
-#define Mask(n) ((n) == 32 ? 0xffffffff : ((1 << (n))-1))
+#define Mask(n) ((1 << (n)) - 1)
PictFormatPtr
PictureCreateDefaultFormats (ScreenPtr pScreen, int *nformatp)