[PATCH rendercheck 4/4] Enable a few more formats

Adam Jackson ajax at redhat.com
Mon Mar 14 19:09:04 UTC 2016


On a standard Xvfb configuration, this means a4, and both rgb orders of
each of a4r4g4b4 and x4r4g4b4.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 tests.c | 4 ++--
 1 file 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;
 	}
-- 
2.5.0



More information about the xorg-devel mailing list