diff options
author | Sven Gothel <[email protected]> | 2023-01-22 07:04:48 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-22 07:04:48 +0100 |
commit | 9e9dc6d407baa893234e2f1e4a938cef27848eaa (patch) | |
tree | dd0bbea9afe694294a55c54871f5918f354e928a /src/jogl/classes/jogamp | |
parent | 7a352d3747233be44edb4333da108228ca75f0f3 (diff) |
jogl's Debug.class: Add explicit debugNotAll(..) variant to skip debugAll()
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/Debug.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/Debug.java b/src/jogl/classes/jogamp/opengl/Debug.java index cc239fefc..6cdc1c358 100644 --- a/src/jogl/classes/jogamp/opengl/Debug.java +++ b/src/jogl/classes/jogamp/opengl/Debug.java @@ -69,7 +69,11 @@ public class Debug extends PropertyAccess { return debugAll; } + public static final boolean debugNotAll(final String subcomponent) { + return isPropertyDefined("jogl.debug." + subcomponent, true); + } + public static final boolean debug(final String subcomponent) { - return debugAll() || isPropertyDefined("jogl.debug." + subcomponent, true); + return debugAll() || debugNotAll(subcomponent); } } |