From 5906d6cd747092f1e73b32f3337563fa74cec2d2 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Thu, 28 Nov 2013 22:43:25 +0100
Subject: GLDrawableFactory: destroy() -> shutdownImpl() - Add DEBUG output in
 implementation

---
 .../classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/jogl/classes/jogamp/opengl/macosx')

diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java
index e41c97827..9ce71cfe9 100644
--- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java
+++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java
@@ -126,7 +126,10 @@ public class MacOSXCGLDrawableFactory extends GLDrawableFactoryImpl {
   }
 
   @Override
-  protected final void destroy() {
+  protected final void shutdownImpl() {
+    if( DEBUG ) {
+        System.err.println("MacOSXCGLDrawableFactory.shutdown");
+    }
     if(null != sharedMap) {
         sharedMap.clear();
         sharedMap = null;
-- 
cgit v1.2.3