diff options
Diffstat (limited to 'src/newt')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/util/MonitorMode.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/newt/classes/com/jogamp/newt/util/MonitorMode.java b/src/newt/classes/com/jogamp/newt/util/MonitorMode.java index 69dc584d3..5a8bf5bf2 100644 --- a/src/newt/classes/com/jogamp/newt/util/MonitorMode.java +++ b/src/newt/classes/com/jogamp/newt/util/MonitorMode.java @@ -37,7 +37,7 @@ import javax.media.nativewindow.util.*; * <li><code>refresh rate</code></li> * </ul> */ -public class MonitorMode implements Cloneable { +public class MonitorMode { SurfaceSize surfaceSize; DimensionImmutable screenSizeMM; // in [mm] int refreshRate; @@ -51,14 +51,6 @@ public class MonitorMode implements Cloneable { this.refreshRate=refreshRate; } - public Object clone() { - try { - return super.clone(); - } catch (CloneNotSupportedException ex) { - throw new InternalError(); - } - } - public final SurfaceSize getSurfaceSize() { return surfaceSize; } |