diff options
Diffstat (limited to 'src/test/com')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/TestBug722GLContextDrawableSwitchNewt2AWT.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/TestBug722GLContextDrawableSwitchNewt2AWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/TestBug722GLContextDrawableSwitchNewt2AWT.java index c670f4c4c..3599258e6 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/TestBug722GLContextDrawableSwitchNewt2AWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/TestBug722GLContextDrawableSwitchNewt2AWT.java @@ -68,7 +68,15 @@ public class TestBug722GLContextDrawableSwitchNewt2AWT extends GLContextDrawable @Test(timeout=180000) // TO 3 min public void test11GLWindow2GLCanvasOnScrnGL2ES2() throws InterruptedException { final GLCapabilities caps = getCaps(GLProfile.GL2ES2); - if(null == caps) return; + if(null == caps) { + System.err.println("GL2ES2 n/a, test n/a."); + return; + } + if( jogamp.nativewindow.jawt.JAWTUtil.isOffscreenLayerRequired() ) { + System.err.println("JAWT required offscreen, test n/a."); + return; + } + GLADType gladType1 = GLADType.GLWindow; GLADType gladType2 = GLADType.GLCanvasOnscreen; |