summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-26 10:12:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-26 10:21:03 +0100
commitec2437f958ec4f5ac5222b37cba4cd403b5c8855 (patch)
tree42acd0d66637fa086637282447762176491edfed
parent309bd3a29943ef7502d40c67be49c19a59b6d1a2 (diff)
uxa: Add PICT format mapping for depth 4 pixmaps.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--uxa/uxa-accel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uxa/uxa-accel.c b/uxa/uxa-accel.c
index 77963f39..29f1fdcf 100644
--- a/uxa/uxa-accel.c
+++ b/uxa/uxa-accel.c
@@ -41,6 +41,7 @@ format_for_depth(int depth)
{
switch (depth) {
case 1: return PICT_a1;
+ case 4: return PICT_a4;
case 8: return PICT_a8;
case 15: return PICT_x1r5g5b5;
case 16: return PICT_r5g6b5;