From a825173a5f2154b0491f7b5554c10ab7146b4592 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Thu, 12 May 2011 17:49:07 -0700 Subject: [PATCH] testdisplay: add 30bpp support (#ifdef'd out until the next cairo release) --- tests/testdisplay.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 8f3b89a2..41a57538 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -370,7 +370,11 @@ allocate_surface(int fd, int width, int height, uint32_t depth, uint32_t bpp, case 24: format = CAIRO_FORMAT_RGB24; break; +#if 0 case 30: + format = CAIRO_FORMAT_RGB30; + break; +#endif case 32: format = CAIRO_FORMAT_ARGB32; break;