diff options
author | Sven Gothel <[email protected]> | 2010-11-23 03:40:29 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-23 03:40:29 +0100 |
commit | 52c6efffc46c42b39c09e35e9a6fd10a8d07661d (patch) | |
tree | ba752b31ecdb6ce3c7b68dd6692c66df63681ad2 | |
parent | 6f396500e7f595584c2048cebd553b863c90b3c5 (diff) |
Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race condition
-rw-r--r-- | make/scripts/tests-x64.bat | 4 | ||||
-rw-r--r-- | src/junit/com/jogamp/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/make/scripts/tests-x64.bat b/make/scripts/tests-x64.bat index 620ffa602..5057caba6 100644 --- a/make/scripts/tests-x64.bat +++ b/make/scripts/tests-x64.bat @@ -2,8 +2,8 @@ REM scripts\java-win64-dbg.bat com.jogamp.newt.opengl.GLWindow REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.acore.TestGLProfile01NEWT REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.demos.gl2.gears.newt.TestGearsNEWT -time 30000 REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411 -REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.glsl.TestTransformFeedbackVaryingsBug407NEWT -scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.glsl.TestGLSLSimple01NEWT -time 2000 +scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.glsl.TestTransformFeedbackVaryingsBug407NEWT +REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.glsl.TestGLSLSimple01NEWT -time 2000 REM scripts\java-win64-dbg.bat com.jogamp.test.junit.newt.TestParenting01AWT REM scripts\java-win64-dbg.bat com.jogamp.test.junit.newt.parenting.TestParenting01cAWT -time 50000 diff --git a/src/junit/com/jogamp/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java b/src/junit/com/jogamp/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java index f44aab380..8122dd48c 100644 --- a/src/junit/com/jogamp/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java +++ b/src/junit/com/jogamp/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java @@ -118,6 +118,8 @@ public class TestTransformFeedbackVaryingsBug407NEWT extends UITestCase { window.setVisible(true); Assert.assertTrue(window.isNativeValid()); + window.getContext().setSynchronized(true); + // trigger native creation of drawable/context window.display(); Assert.assertTrue(window.isRealized()); |