From 3c97d2e40571d1c5c164797d9fd8d0bc8231708a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 4 Sep 2011 10:51:59 +0200 Subject: Test Multisample/Translucency: Remove implicit alpha settings see commit 3ea949b6a14c1ba631cb41b7439af86b21db4c05 --- .../com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleNEWT.java | 3 ++- .../com/jogamp/opengl/test/junit/jogl/caps/TestTranslucencyNEWT.java | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/test') 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); } -- cgit v1.2.3