diff options
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rwxr-xr-x | src/test/com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleNEWT.java | 3 | ||||
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/caps/TestTranslucencyNEWT.java | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleNEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleNEWT.java index 8285a6699..1e3274dbb 100755 --- a/src/test/com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleNEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleNEWT.java @@ -80,7 +80,8 @@ public class TestMultisampleNEWT { } // turns out we need to have alpha, // otherwise no AA will be visible. - caps.setAlphaBits(1); + // This is done implicit now .. + // caps.setAlphaBits(1); window = GLWindow.create(caps); window.setCapabilitiesChooser(chooser); diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/caps/TestTranslucencyNEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/caps/TestTranslucencyNEWT.java index ebadb7a84..a01cb593b 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/caps/TestTranslucencyNEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/caps/TestTranslucencyNEWT.java @@ -125,6 +125,8 @@ public class TestTranslucencyNEWT extends UITestCase { public void test01TransparentDecorated() throws InterruptedException { GLCapabilities caps = new GLCapabilities(glp); caps.setBackgroundOpaque(false); + // This is done implicit now .. + // caps.setAlphaBits(1); runTestGL(caps, false); } @@ -132,6 +134,8 @@ public class TestTranslucencyNEWT extends UITestCase { public void test01TransparentUndecorated() throws InterruptedException { GLCapabilities caps = new GLCapabilities(glp); caps.setBackgroundOpaque(false); + // This is done implicit now .. + // caps.setAlphaBits(1); runTestGL(caps, true); } |