From 5906d6cd747092f1e73b32f3337563fa74cec2d2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 28 Nov 2013 22:43:25 +0100 Subject: GLDrawableFactory: destroy() -> shutdownImpl() - Add DEBUG output in implementation --- src/jogl/classes/javax/media/opengl/GLDrawableFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/javax/media/opengl/GLDrawableFactory.java') diff --git a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java index 2b1d228ad..fcc1494ce 100644 --- a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java +++ b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java @@ -220,7 +220,7 @@ public abstract class GLDrawableFactory { } try { gldf.resetDisplayGamma(); - gldf.destroy(); + gldf.shutdownImpl(); } catch (Throwable t) { System.err.println("GLDrawableFactory.shutdownImpl: Catched "+t.getClass().getName()+" during factory shutdown #"+(i+1)+"/"+gldfCount+" "+gldf.getClass().getName()); if( DEBUG ) { @@ -251,7 +251,7 @@ public abstract class GLDrawableFactory { protected void enterThreadCriticalZone() {}; protected void leaveThreadCriticalZone() {}; - protected abstract void destroy(); + protected abstract void shutdownImpl(); public abstract void resetDisplayGamma(); -- cgit v1.2.3