diff options
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java | 3 | ||||
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLDrawableHelper.java | 13 |
2 files changed, 9 insertions, 7 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java b/src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java index 6e6aaf58d..8fa4c581a 100644 --- a/src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java +++ b/src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java @@ -50,6 +50,7 @@ import javax.media.opengl.GLProfile; import javax.media.opengl.GLRunnable; import javax.media.opengl.GLSharedContextSetter; +import com.jogamp.common.ExceptionUtils; import com.jogamp.common.util.locks.RecursiveLock; import com.jogamp.opengl.GLAutoDrawableDelegate; import com.jogamp.opengl.GLEventListenerState; @@ -284,7 +285,7 @@ public abstract class GLAutoDrawableBase implements GLAutoDrawable, GLStateKeepe } catch( final Throwable t ) { // Intentionally catch and ignore exception, // so the destroy mechanism of the native windowing system is not corrupted! - GLException.dumpThrowable("ignored", t); + ExceptionUtils.dumpThrowable("ignored", t); } } } diff --git a/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java b/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java index 3deeafd27..3847b4042 100644 --- a/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java +++ b/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java @@ -60,6 +60,7 @@ import javax.media.opengl.GLException; import javax.media.opengl.GLFBODrawable; import javax.media.opengl.GLRunnable; +import com.jogamp.common.ExceptionUtils; import com.jogamp.common.util.PropertyAccess; /** Encapsulates the implementation of most of the GLAutoDrawable's @@ -528,7 +529,7 @@ public class GLDrawableHelper { if( null == firstCaught ) { firstCaught = t; } else { - GLException.dumpThrowable("subsequent", t); + ExceptionUtils.dumpThrowable("subsequent", t); } } disposeCount++; @@ -544,7 +545,7 @@ public class GLDrawableHelper { if( null == firstCaught ) { firstCaught = t; } else { - GLException.dumpThrowable("subsequent", t); + ExceptionUtils.dumpThrowable("subsequent", t); } } listenersToBeInit.add(listener); @@ -1119,7 +1120,7 @@ public class GLDrawableHelper { final Runnable initAction) { if(null==context) { if (DEBUG) { - GLException.dumpThrowable("informal", new GLException("Info: GLDrawableHelper " + this + ".invokeGL(): NULL GLContext")); + ExceptionUtils.dumpThrowable("informal", new GLException("Info: GLDrawableHelper " + this + ".invokeGL(): NULL GLContext")); } return; } @@ -1201,7 +1202,7 @@ public class GLDrawableHelper { } if( null != disposeCaught ) { if( null != contextCloseCaught ) { - GLException.dumpThrowable("subsequent", contextCloseCaught); + ExceptionUtils.dumpThrowable("subsequent", contextCloseCaught); } throw disposeCaught; } @@ -1305,7 +1306,7 @@ public class GLDrawableHelper { if( null != glEventListenerCaught ) { flushGLRunnables(); if( null != contextReleaseCaught ) { - GLException.dumpThrowable("subsequent", contextReleaseCaught); + ExceptionUtils.dumpThrowable("subsequent", contextReleaseCaught); } throw GLException.newGLException(glEventListenerCaught); } @@ -1427,7 +1428,7 @@ public class GLDrawableHelper { if( null != glEventListenerCaught ) { flushGLRunnables(); if( null != contextReleaseCaught ) { - GLException.dumpThrowable("subsequent", contextReleaseCaught); + ExceptionUtils.dumpThrowable("subsequent", contextReleaseCaught); } throw GLException.newGLException(glEventListenerCaught); } |