From 9adc5153ff975dcf70320e722859d161fd1e747f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 1 Aug 2011 15:18:54 +0200 Subject: NEWT test: rgb == 555 is ok --- src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/com/jogamp') diff --git a/src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java index 5ac6041ac..7c9de77b6 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java @@ -84,9 +84,9 @@ public class TestWindows01NEWT extends UITestCase { // CapabilitiesImmutable chosenCapabilities = window.getGraphicsConfiguration().getNativeGraphicsConfiguration().getChosenCapabilities(); Assert.assertNotNull(chosenCapabilities); - Assert.assertTrue(chosenCapabilities.getGreenBits()>5); - Assert.assertTrue(chosenCapabilities.getBlueBits()>5); - Assert.assertTrue(chosenCapabilities.getRedBits()>5); + Assert.assertTrue(chosenCapabilities.getGreenBits()>=5); + Assert.assertTrue(chosenCapabilities.getBlueBits()>=5); + Assert.assertTrue(chosenCapabilities.getRedBits()>=5); Assert.assertEquals(chosenCapabilities.isOnscreen(),onscreen); return window; -- cgit v1.2.3