diff options
author | Sven Gothel <[email protected]> | 2013-06-17 04:09:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-17 04:09:14 +0200 |
commit | 92fce556bf9c3d8f1e99bf79f48631d58829c523 (patch) | |
tree | 9b6dd3dabae767f9fcc269309629ceed48dae394 /src/jogl/classes/jogamp/opengl/GLDrawableImpl.java | |
parent | 409d23cc5434f192e2c38dc172b46a05c48ffe0a (diff) |
GLFBODrawableImpl: Fix swap criteria, i.e. don't swap in contextMadeCurrent(false) if already swapped by swapBuffersImpl(..), but always swap in swapBuffersImpl(..) if ctx is current and associated.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLDrawableImpl.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLDrawableImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java b/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java index 877e7b60b..e1088da29 100644 --- a/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java @@ -116,6 +116,7 @@ public abstract class GLDrawableImpl implements GLDrawable { * {@link GL#glFlush()} has been called already and * the implementation may execute implementation specific code. * </p> + * @param doubleBuffered indicates whether double buffering is enabled, see above. */ protected abstract void swapBuffersImpl(boolean doubleBuffered); |