summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/Debug.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/Debug.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/Debug.java6
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);
}
}