From 52c6efffc46c42b39c09e35e9a6fd10a8d07661d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 23 Nov 2010 03:40:29 +0100 Subject: Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race condition --- .../test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/junit') 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()); -- cgit v1.2.3