diff options
author | Sven Gothel <[email protected]> | 2011-08-01 15:18:54 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-01 15:18:54 +0200 |
commit | 9adc5153ff975dcf70320e722859d161fd1e747f (patch) | |
tree | 6bcf9629059f1c63420e0200c062fc5617f2d106 /src/test | |
parent | cdc94b8a404ee9fb9c83482038be593054cf45f5 (diff) |
NEWT test: rgb == 555 is ok
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java | 6 |
1 files changed, 3 insertions, 3 deletions
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; |