diff options
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(); } |