diff options
author | Sven Gothel <sgothel@jausoft.com> | 2010-11-23 03:40:29 +0100 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2010-11-23 03:40:29 +0100 |
commit | 52c6efffc46c42b39c09e35e9a6fd10a8d07661d (patch) | |
tree | ba752b31ecdb6ce3c7b68dd6692c66df63681ad2 /src/junit/com/jogamp | |
parent | 6f396500e7f595584c2048cebd553b863c90b3c5 (diff) |
Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race condition
Diffstat (limited to 'src/junit/com/jogamp')
-rw-r--r-- | src/junit/com/jogamp/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java | 2 |
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()); |