summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-05-12 17:49:07 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-05-12 17:50:20 -0700
commita825173a5f2154b0491f7b5554c10ab7146b4592 (patch)
treeaa1da00c200207275cf8b6cc64d945b7d57123a2 /tests
parenta09dd09e00561739a10c83eb25ee9443f8bf79f6 (diff)
testdisplay: add 30bpp support (#ifdef'd out until the next cairo release)
Diffstat (limited to 'tests')
-rw-r--r--tests/testdisplay.c4
1 files changed, 4 insertions, 0 deletions
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;