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

Signed-off-by: Adam Jackson <[email protected]>
---
 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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to