summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-07 22:40:07 +0200
committerSven Gothel <[email protected]>2011-07-07 22:40:07 +0200
commitbdeed41cd4d48e13e1a00bf7030975ddcc79cff6 (patch)
tree38540e7d3c3fab650ea33341f6e478b93bb635e5
parent64af11278dfe4d3feb223775e0b3a83a968fcabc (diff)
Fix 'main' invocation
-rw-r--r--src/jogl/classes/javax/media/opengl/awt/GLCanvas.java1
1 files changed, 1 insertions, 0 deletions
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/*<GLCapabilitiesImmutable>*/ availCaps = factory.getAvailableCapabilities(null);
for(int i=0; i<availCaps.size(); i++) {