From ca4515d20186b3b4e74acee7c1dad72566913bae Mon Sep 17 00:00:00 2001 From: packet0 Date: Tue, 11 Aug 2015 18:30:02 +0900 Subject: SWTAccessor: Cleanup disable debug messages --- src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java b/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java index c750f7651..26a5f452b 100644 --- a/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java +++ b/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java @@ -51,9 +51,10 @@ import com.jogamp.nativewindow.x11.X11GraphicsDevice; import jogamp.nativewindow.macosx.OSXUtil; import jogamp.nativewindow.x11.X11Lib; +import jogamp.nativewindow.Debug; public class SWTAccessor { - private static final boolean DEBUG = true; + private static final boolean DEBUG = Debug.debug("SWT"); private static final Field swt_control_handle; private static final boolean swt_uses_long_handles; -- cgit v1.2.3