From bdeed41cd4d48e13e1a00bf7030975ddcc79cff6 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 7 Jul 2011 22:40:07 +0200 Subject: Fix 'main' invocation --- src/jogl/classes/javax/media/opengl/awt/GLCanvas.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/jogl') diff --git a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java index 80e042dd3..c14142ad2 100644 --- a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java +++ b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java @@ -1041,6 +1041,7 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable, WindowClosing System.err.println(NativeWindowVersion.getInstance()); System.err.println(JoglVersion.getInstance()); + GLProfile.initSingleton(false); GLDrawableFactory factory = GLDrawableFactory.getDesktopFactory(); List/**/ availCaps = factory.getAvailableCapabilities(null); for(int i=0; i