diff options
author | Sven Gothel <[email protected]> | 2019-03-26 23:23:09 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-03-26 23:23:09 +0100 |
commit | deb3ceadec24aa0aada97a78888c25d96b4bf95a (patch) | |
tree | e23a03f14ff9d2ea44a3f4fee00431dc63b6b10d /src | |
parent | a77ac6290977db3b7f15097e7c21c7cca8427929 (diff) | |
parent | ca4515d20186b3b4e74acee7c1dad72566913bae (diff) |
Merge pull request #90 from packet0/patch-1
SWTAccessor: Cleanup disable debug messages
Diffstat (limited to 'src')
-rw-r--r-- | src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java b/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java index c79ed2f67..6ddfc8950 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; |