aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-01 15:18:54 +0200
committerSven Gothel <[email protected]>2011-08-01 15:18:54 +0200
commit9adc5153ff975dcf70320e722859d161fd1e747f (patch)
tree6bcf9629059f1c63420e0200c062fc5617f2d106 /src
parentcdc94b8a404ee9fb9c83482038be593054cf45f5 (diff)
NEWT test: rgb == 555 is ok
Diffstat (limited to 'src')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java6
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;