diff options
author | Kenneth Russel <[email protected]> | 2008-08-09 02:00:33 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-08-09 02:00:33 +0000 |
commit | 16b35828d26acd9076fb7addd6382a66e5e57e6c (patch) | |
tree | 72cf29f3f8b7ff61517a20ee077092ff8d197dbf /make/glu-CustomJavaCode-base.java | |
parent | 25e894d4355318c50d847da5deda6cd1a0d9afba (diff) |
Stopped squelching exception stack traces during GLU construction, and
commented out currently unneeded code path
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1744 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/glu-CustomJavaCode-base.java')
-rwxr-xr-x | make/glu-CustomJavaCode-base.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/make/glu-CustomJavaCode-base.java b/make/glu-CustomJavaCode-base.java index b506be00e..e0d5abc5e 100755 --- a/make/glu-CustomJavaCode-base.java +++ b/make/glu-CustomJavaCode-base.java @@ -85,18 +85,20 @@ public static final GLU createGLU(String profile) throws GLUnsupportedException if(GLProfile.GL2.equals(profile)) { return (GLU) GLReflection.createInstance("javax.media.opengl.glu.gl2.GLUgl2"); } - } catch (GLUnsupportedException e) { System.out.println(e); } + } catch (GLUnsupportedException e) { e.printStackTrace(); } try { if(GLProfile.GL2ES12.equals(profile) || GLProfile.GL2.equals(profile) || GLProfile.GLES1.equals(profile)) { return (GLU) GLReflection.createInstance("javax.media.opengl.glu.gl2es1.GLUgl2es1"); } - } catch (GLUnsupportedException e) { System.out.println(e); } + } catch (GLUnsupportedException e) { e.printStackTrace(); } + // There is no specialized ES 2 GLU at this time + /* try { if(GLProfile.GL2ES12.equals(profile) || GLProfile.GL2.equals(profile) || GLProfile.GLES2.equals(profile)) { return (GLU) GLReflection.createInstance("javax.media.opengl.glu.gl2es2.GLUgl2es2"); } - } catch (GLUnsupportedException e) { System.out.println(e); } - + } catch (GLUnsupportedException e) { e.printStackTrace(); } + */ return new GLU(); } |