summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-03-26 23:23:09 +0100
committerGitHub <[email protected]>2019-03-26 23:23:09 +0100
commitdeb3ceadec24aa0aada97a78888c25d96b4bf95a (patch)
treee23a03f14ff9d2ea44a3f4fee00431dc63b6b10d
parenta77ac6290977db3b7f15097e7c21c7cca8427929 (diff)
parentca4515d20186b3b4e74acee7c1dad72566913bae (diff)
Merge pull request #90 from packet0/patch-1
SWTAccessor: Cleanup disable debug messages
-rw-r--r--src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java3
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;