diff options
author | Kenneth Russel <[email protected]> | 2008-07-31 01:25:11 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-07-31 01:25:11 +0000 |
commit | fda288da7746aefc3c9380aa63e02ad6da42ba5b (patch) | |
tree | 0cb405f4d8ece53d0076b2817eed882d96907d6f /src | |
parent | 659b59dd072d8b22d0d516770fd6864796ab89db (diff) |
Changes needed to build against JDK 1.4.2 and in particular with -Djogl.cdcfp=1
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1737 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/com/sun/opengl/impl/glu/tessellator/GLUtessellatorImpl.java | 1 | ||||
-rw-r--r-- | src/classes/javax/media/opengl/GLUnsupportedException.java | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/classes/com/sun/opengl/impl/glu/tessellator/GLUtessellatorImpl.java b/src/classes/com/sun/opengl/impl/glu/tessellator/GLUtessellatorImpl.java index 3a26953c8..4f36c7018 100644 --- a/src/classes/com/sun/opengl/impl/glu/tessellator/GLUtessellatorImpl.java +++ b/src/classes/com/sun/opengl/impl/glu/tessellator/GLUtessellatorImpl.java @@ -55,7 +55,6 @@ package com.sun.opengl.impl.glu.tessellator; import com.sun.opengl.impl.glu.tessellator.*; import javax.media.opengl.*; import javax.media.opengl.glu.*; -import javax.media.opengl.glu.gl2.*; public class GLUtessellatorImpl implements GLUtessellator { public static final int TESS_MAX_CACHE = 100; diff --git a/src/classes/javax/media/opengl/GLUnsupportedException.java b/src/classes/javax/media/opengl/GLUnsupportedException.java index 34a1c7340..ee1708634 100644 --- a/src/classes/javax/media/opengl/GLUnsupportedException.java +++ b/src/classes/javax/media/opengl/GLUnsupportedException.java @@ -57,12 +57,14 @@ public class GLUnsupportedException extends UnsupportedOperationException { /** Constructs a GLUnsupportedException object with the specified detail message and root cause. */ public GLUnsupportedException(String message, Throwable cause) { - super(message, cause); + super(message); + initCause(cause); } /** Constructs a GLUnsupportedException object with the specified root cause. */ public GLUnsupportedException(Throwable cause) { - super(cause); + super(); + initCause(cause); } } |