aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax/media/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/javax/media/opengl')
-rw-r--r--src/classes/javax/media/opengl/GLDrawableFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/classes/javax/media/opengl/GLDrawableFactory.java b/src/classes/javax/media/opengl/GLDrawableFactory.java
index 42727fc48..45b3e0dc4 100644
--- a/src/classes/javax/media/opengl/GLDrawableFactory.java
+++ b/src/classes/javax/media/opengl/GLDrawableFactory.java
@@ -104,7 +104,9 @@ public abstract class GLDrawableFactory {
Class clazz = Class.forName("com.sun.opengl.impl.egl.EGLDrawableFactory");
Constructor c = clazz.getDeclaredConstructor(new Class[] { String.class });
factory = (GLDrawableFactory) c.newInstance(new Object[] { profile });
+ return;
} catch (Exception e) {
+ e.printStackTrace();
}
} else if (!PROFILE_GL_20.equals(profile)) {
// We require that the user passes in one of the known profiles