aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/build-common.xml2
-rwxr-xr-xsrc/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/make/build-common.xml b/make/build-common.xml
index bbc99b589..be323398e 100644
--- a/make/build-common.xml
+++ b/make/build-common.xml
@@ -153,7 +153,7 @@
<property name="build.junit" value="${build}/test/build" />
<property name="obj.junit" value="${build.junit}/obj"/>
- <condition property="obj.custom" value="${custom.libdir}${path.separator}">
+ <condition property="obj.custom" value="${custom.libdir}${path.separator}" else="">
<isset property="custom.libdir"/>
</condition>
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);