summaryrefslogtreecommitdiffstats
path: root/src/junit
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-23 03:40:29 +0100
committerSven Gothel <[email protected]>2010-11-23 03:40:29 +0100
commit52c6efffc46c42b39c09e35e9a6fd10a8d07661d (patch)
treeba752b31ecdb6ce3c7b68dd6692c66df63681ad2 /src/junit
parent6f396500e7f595584c2048cebd553b863c90b3c5 (diff)
Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race condition
Diffstat (limited to 'src/junit')
-rw-r--r--src/junit/com/jogamp/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java2
1 files changed, 2 insertions, 0 deletions
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());