summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-04 10:51:59 +0200
committerSven Gothel <[email protected]>2011-09-04 10:51:59 +0200
commit3c97d2e40571d1c5c164797d9fd8d0bc8231708a (patch)
tree0aa4f10c189fc07f8ba40e05f51641168325df99 /src/test/com/jogamp
parentc8e147620c55ff16e9d687bb36a4374e97e82176 (diff)
Test Multisample/Translucency: Remove implicit alpha settings
see commit 3ea949b6a14c1ba631cb41b7439af86b21db4c05
Diffstat (limited to 'src/test/com/jogamp')
-rwxr-xr-xsrc/test/com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleNEWT.java3
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/caps/TestTranslucencyNEWT.java4
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);
}