From 9e9dc6d407baa893234e2f1e4a938cef27848eaa Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 22 Jan 2023 07:04:48 +0100 Subject: jogl's Debug.class: Add explicit debugNotAll(..) variant to skip debugAll() --- src/jogl/classes/jogamp/opengl/Debug.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/jogl/classes/jogamp/opengl/Debug.java') 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); } } -- cgit v1.2.3