summaryrefslogtreecommitdiff
path: root/uxa
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-26 10:12:18 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-05-27 14:46:42 +0100
commit4f357cf79e757c37e13f98ac5f148eb6bc4ada68 (patch)
tree8d6f902c92a07d58755bbf21576826f8f5d157ee /uxa
parent1f0bdbb5eb8e349f98aa312c3e20704701a7606d (diff)
uxa: Add PICT format mapping for depth 4 pixmaps.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit ec2437f958ec4f5ac5222b37cba4cd403b5c8855) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'uxa')
-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 0d9bf126..19385bd8 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;