diff options
author | Sven Gothel <sgothel@jausoft.com> | 2010-04-28 01:36:08 +0200 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2010-04-28 01:36:08 +0200 |
commit | bb251c6e1089da4a247350371fff425abf093e1e (patch) | |
tree | c32a3480ed4c446137a780a3408b706c3a622112 /src/junit/com | |
parent | 3dae4b359e9494c34cc6056e43f1c835fca53100 (diff) |
Oops .. broke the tests, adding 'else' value ; fix assertion in test
Diffstat (limited to 'src/junit/com')
-rwxr-xr-x | src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java b/src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java index 49dddc701..ff4186b0c 100755 --- a/src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java +++ b/src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java @@ -78,7 +78,7 @@ public class TestDrawable01NEWT { void createWindow(boolean onscreen, boolean pbuffer, boolean undecorated) { caps.setOnscreen(onscreen); caps.setPBuffer(!onscreen && pbuffer); - caps.setDoubleBuffered(!onscreen); + caps.setDoubleBuffered(onscreen); // System.out.println("Requested: "+caps); // @@ -107,7 +107,7 @@ public class TestDrawable01NEWT { Assert.assertTrue(glCaps.getRedBits()>5); Assert.assertTrue(glCaps.isOnscreen()==onscreen); Assert.assertTrue(onscreen || !pbuffer || glCaps.isPBuffer()); // pass if onscreen, or !pbuffer req. or have pbuffer - Assert.assertTrue(glCaps.getDoubleBuffered()==!onscreen); + Assert.assertTrue(glCaps.getDoubleBuffered()==onscreen); Assert.assertTrue(glCaps.getDepthBits()>4); drawable = factory.createGLDrawable(window); |