diff options
author | Sven Gothel <[email protected]> | 2013-09-19 08:00:26 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-09-19 08:00:26 +0200 |
commit | 5822557d00b43ee3655db4343eeefcd417094983 (patch) | |
tree | e3dde1bbf2d2247b6a31fbb17285c1630f64408d | |
parent | 99e303b6bc7f87a31efb82856bd1baae9ba3e52b (diff) |
TestTiledPrintingGearsSwingAWT: Enable 'bitmap' test only on Windows, issues w/ AMD catalyst driver and pixmap surface ..
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java index f89f3ad6a..476513207 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java @@ -60,6 +60,7 @@ import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runners.MethodSorters; +import com.jogamp.common.os.Platform; import com.jogamp.newt.event.TraceKeyAdapter; import com.jogamp.newt.event.TraceWindowAdapter; import com.jogamp.newt.event.awt.AWTKeyAdapter; @@ -274,17 +275,21 @@ public class TestTiledPrintingGearsSwingAWT extends TiledPrintingAWTBase { @Test public void test01_aa0_bitmap() throws InterruptedException, InvocationTargetException { - GLCapabilities caps = new GLCapabilities(glp); - caps.setBitmap(true); - runTestGL(caps, false); + if( Platform.OSType.WINDOWS == Platform.getOSType() ) { + GLCapabilities caps = new GLCapabilities(glp); + caps.setBitmap(true); + runTestGL(caps, false); + } // issues w/ AMD catalyst driver and pixmap surface .. } @Test public void test01_aa0_bitmap_layered() throws InterruptedException, InvocationTargetException { - GLCapabilities caps = new GLCapabilities(glp); - caps.setBitmap(true); - caps.setAlphaBits(8); - runTestGL(caps, true); + if( Platform.OSType.WINDOWS == Platform.getOSType() ) { + GLCapabilities caps = new GLCapabilities(glp); + caps.setBitmap(true); + caps.setAlphaBits(8); + runTestGL(caps, true); + } // issues w/ AMD catalyst driver and pixmap surface .. } @Test |