diff options
author | Sven Gothel <[email protected]> | 2011-08-09 20:12:28 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-09 20:12:28 +0200 |
commit | 991ba438bfefa1c84fc185146b355c3cf9781f3d (patch) | |
tree | 0502a4c3fc72dbd4002b60dbc5c4b801e6395cc0 | |
parent | ff2c2bfb69699ad00ba80f90cbfea6d4ce1ab778 (diff) |
debug: remove tracker from jogl.debug=all
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLBufferSizeTracker.java | 3 | ||||
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLBufferStateTracker.java | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLBufferSizeTracker.java b/src/jogl/classes/jogamp/opengl/GLBufferSizeTracker.java index dc121323e..78ab7cc93 100644 --- a/src/jogl/classes/jogamp/opengl/GLBufferSizeTracker.java +++ b/src/jogl/classes/jogamp/opengl/GLBufferSizeTracker.java @@ -95,8 +95,7 @@ public class GLBufferSizeTracker { // pattern of buffer objects indicates that the fact that this map // never shrinks is probably not that bad. private IntLongHashMap bufferSizeMap; - - protected static final boolean DEBUG = Debug.debug("GLStatusTracker"); + protected static final boolean DEBUG = Debug.isPropertyDefined("jogl.debug.GLBufferSizeTracker", true); public GLBufferSizeTracker() { bufferSizeMap = new IntLongHashMap(); diff --git a/src/jogl/classes/jogamp/opengl/GLBufferStateTracker.java b/src/jogl/classes/jogamp/opengl/GLBufferStateTracker.java index 1e5dc6069..92e27cbd4 100644 --- a/src/jogl/classes/jogamp/opengl/GLBufferStateTracker.java +++ b/src/jogl/classes/jogamp/opengl/GLBufferStateTracker.java @@ -76,8 +76,7 @@ import com.jogamp.common.util.IntIntHashMap; */ public class GLBufferStateTracker { - protected static final boolean DEBUG = GLBufferSizeTracker.DEBUG; - + protected static final boolean DEBUG = Debug.isPropertyDefined("jogl.debug.GLBufferStateTracker", true); // Maps binding targets to buffer objects. A null value indicates // that the binding is unknown. A zero value indicates that it is // known that no buffer is bound to the target, according to the |