summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-03-09 16:03:42 -0500
committerAdam Jackson <ajax@redhat.com>2016-03-14 15:34:19 -0400
commit44032a7e7e25329989bbda1c715568107a6479c6 (patch)
tree55fb101c1b0ca6cd13a0b2c90ef3ddf78fa74102
parent7d98e87af887faed21ab69f80cb0212e732ede2c (diff)
Enable a few more formats
On a standard Xvfb configuration, this means a4, and both rgb orders of each of a4r4g4b4 and x4r4g4b4. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests.c b/tests.c
index 9c8adaf..22cbfd4 100644
--- a/tests.c
+++ b/tests.c
@@ -271,8 +271,8 @@ create_formats_list(Display *dpy)
/* Our testing code isn't all that hot, so don't bother trying at
* the low depths yet.
*/
- if ((redbits >= 1 && redbits <= 4) ||
- (alphabits >= 1 && alphabits <= 4))
+ if ((redbits >= 1 && redbits < 4) ||
+ (alphabits >= 1 && alphabits < 4))
{
continue;
}