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/jogamp/opengl/egl/EGLDrawableFactory.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/egl') diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java index 1438107fe..f7799f1ec 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java @@ -207,17 +207,19 @@ public class EGLDrawableFactory extends GLDrawableFactoryImpl { @Override - protected final void destroy() { + protected final void shutdownImpl() { + if( DEBUG ) { + System.err.println("EGLDrawableFactory.shutdown"); + } if(null != sharedMap) { if(DEBUG) { - System.err.println("EGLDrawableFactory.destroy() .. "); dumpMap(); } Collection srl = sharedMap.values(); for(Iterator sri = srl.iterator(); sri.hasNext(); ) { SharedResource sr = sri.next(); if(DEBUG) { - System.err.println("EGLDrawableFactory.destroy(): "+sr.device.toString()); + System.err.println("EGLDrawableFactory.shutdown: "+sr.device.toString()); } sr.device.close(); } -- cgit v1.2.3