summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain G. Ainsworth <oga@openbsd.org>2010-06-21 13:35:26 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-06-21 13:35:26 +0100
commit3c678b179ba97e6cc95ee7f8c3961af77eb07c74 (patch)
tree1fb69cf7026c574be6074946a11353ca7fbb03b7
parenta8789ee9cc3cb9d217137c99b4ee3186f73da14d (diff)
uxa: Match depth 30 to format.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 78ee25f005fac9e9cc85425aa3fca8c396d015ea)
-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 c20ac8c1..f19c9a07 100644
--- a/uxa/uxa-accel.c
+++ b/uxa/uxa-accel.c
@@ -47,6 +47,7 @@ format_for_depth(int depth)
case 16: return PICT_r5g6b5;
default:
case 24: return PICT_x8r8g8b8;
+ case 30: return PICT_x2r10g10b10;
case 32: return PICT_a8r8g8b8;
}
}