From 4856f7800bac165c3770495b77de4a2eabcca46e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 2 Dec 2011 05:05:32 +0100 Subject: Remove GLProfile.initSingleton(..) out of static init block --- .../opengl/test/junit/jogl/acore/TestSharedContextNewtAWTBug523.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/test/com/jogamp') diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextNewtAWTBug523.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextNewtAWTBug523.java index fbc16953d..60f46fe9e 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextNewtAWTBug523.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextNewtAWTBug523.java @@ -114,10 +114,6 @@ public class TestSharedContextNewtAWTBug523 extends UITestCase { private static FloatBuffer sharedVertexBuffer; private static IntBuffer sharedIndexBuffer; - static { - GLProfile.initSingleton(true); - } - static private GLPbuffer initShared(GLCapabilities caps) { GLPbuffer sharedDrawable = GLDrawableFactory.getFactory(caps.getGLProfile()).createGLPbuffer(null, caps, null, 64, 64, null); Assert.assertNotNull(sharedDrawable); -- cgit v1.2.3