aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-05-29 09:34:56 +0000
committerKenneth Russel <[email protected]>2008-05-29 09:34:56 +0000
commit832372b20ea45100796a03d49eaff8db2826e3b9 (patch)
treedbfac3193c37fbc029ac3238daed3ac73f1a2d88 /src/classes/javax
parent75f83018930f6594b29f16459c1e91b54842924b (diff)
Various bug fixes. Incorporated minimal window abstraction to
bootstrap EGL subsystem. Added back in GLU generation for ES 2. This code creates and shows the window for the demos.es1.RedSquare demo, but nothing is rendered yet. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1645 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax')
-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