From 944a1c9ff172c5187f8d489b9f687417bb6af953 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 2 Feb 2005 00:23:09 +0000 Subject: Merged in changes from Blackbird branch: refactoring and rewriting of portions of GlueGen for more flexibility. Also fixed source-level problems associated with making GLCapabilities' clone() not throw CloneNotSupportedException. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@202 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/net/java/games/jogl/impl/GLContext.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/net/java/games/jogl/impl/GLContext.java') diff --git a/src/net/java/games/jogl/impl/GLContext.java b/src/net/java/games/jogl/impl/GLContext.java index 4fd00dcd5..cc5d465d6 100644 --- a/src/net/java/games/jogl/impl/GLContext.java +++ b/src/net/java/games/jogl/impl/GLContext.java @@ -145,11 +145,7 @@ public abstract class GLContext { GLCapabilitiesChooser chooser, GLContext shareWith) { this.component = component; - try { - this.capabilities = (GLCapabilities) capabilities.clone(); - } catch (CloneNotSupportedException e) { - throw new GLException(e); - } + this.capabilities = (GLCapabilities) capabilities.clone(); this.chooser = chooser; setGL(createGL()); functionAvailability = new FunctionAvailabilityCache(this); -- cgit v1.2.3