diff options
author | Sven Gothel <[email protected]> | 2014-07-08 22:10:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-08 22:10:47 +0200 |
commit | 9f0d303c2c325a5580054fe92f384c9a4076b065 (patch) | |
tree | 51db322656391cea1e91a5bd693c716af16b6024 /src/jogl/classes/com/jogamp/opengl/util | |
parent | de53d193c86a02a3cdc46c5c8758192d957d1c67 (diff) |
AnimatorBase: Use cached synchronized value instead of unsynchronized (sloppy left-over code)
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java b/src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java index 68a48381e..a5bdb9350 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java +++ b/src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java @@ -312,7 +312,7 @@ public abstract class AnimatorBase implements GLAnimatorControl { System.err.println("AnimatorBase.setExclusiveContextThread: "+oldExclusiveContext+" -> "+exclusiveContext+", propagateState "+propagateState+", "+this); } } - final Thread dECT = enable ? ( null != userExclusiveContextThread ? userExclusiveContextThread : animThread ) : null ; + final Thread dECT = enable ? ( null != _exclusiveContextThread ? _exclusiveContextThread : animThread ) : null ; if( propagateState ) { setDrawablesExclCtxState(enable); if( !enable ) { |