summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/egl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-11-28 22:43:25 +0100
committerSven Gothel <[email protected]>2013-11-28 22:43:25 +0100
commit5906d6cd747092f1e73b32f3337563fa74cec2d2 (patch)
tree9312deae1b11d235a88af5453ac858bb82a587d1 /src/jogl/classes/jogamp/opengl/egl
parentf52c89e36cccd5eb141882a4b3378efe54aa9576 (diff)
GLDrawableFactory: destroy() -> shutdownImpl() - Add DEBUG output in implementation
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl')
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java8
1 files changed, 5 insertions, 3 deletions
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<SharedResource> srl = sharedMap.values();
for(Iterator<SharedResource> 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();
}