diff options
author | Sven Gothel <[email protected]> | 2011-09-07 23:15:45 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-07 23:15:45 +0200 |
commit | f1c375df106f0f9f6c90772b61a501b4280997fa (patch) | |
tree | de5c7b96b2eed42846fc9af6c4dcd5ffafcc1917 /src/jogl/classes | |
parent | 2c99aac7680070d2e0bc6339ef60ac108ff0f171 (diff) |
Minor edits/cleanup: unused var, final
Diffstat (limited to 'src/jogl/classes')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/Animator.java | 2 | ||||
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLDrawableImpl.java | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/Animator.java b/src/jogl/classes/com/jogamp/opengl/util/Animator.java index e7fbc4d58..16aac957a 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/Animator.java +++ b/src/jogl/classes/com/jogamp/opengl/util/Animator.java @@ -114,7 +114,7 @@ public class Animator extends AnimatorBase { } } - private void setIsAnimatingSynced(boolean v) { + private final void setIsAnimatingSynced(boolean v) { stateSync.lock(); try { isAnimating = v; diff --git a/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java b/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java index af14e5f43..15db80cc4 100644 --- a/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java @@ -87,7 +87,6 @@ public abstract class GLDrawableImpl implements GLDrawable { return; } try { - AbstractGraphicsDevice aDevice = getNativeSurface().getGraphicsConfiguration().getScreen().getDevice(); if (NativeSurface.LOCK_SURFACE_CHANGED == lockRes) { updateHandle(); } |