aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/classes/com/sun/opengl/impl/glu/tessellator/GLUtessellatorImpl.java1
-rw-r--r--src/classes/javax/media/opengl/GLUnsupportedException.java6
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);
}
}