diff options
author | Sven Gothel <[email protected]> | 2012-03-10 04:51:28 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-03-10 04:51:28 +0100 |
commit | f0f696c4253691503a0d66636ea779e0731bda84 (patch) | |
tree | 74007b3923b06e040528429f7503715af74bc1a4 /make/config/jogl/gl-impl-CustomJavaCode-common.java | |
parent | 42a08f9c8a6b86a104d9feba6e29397933b020c5 (diff) |
GL/GLContext: Properly define swapInterval incl. default value for EGL (1) and desktop (undefined).
*GLContext.setSwapIntervalImpl: Simple return success, set state in GLContext.
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-common.java')
-rw-r--r-- | make/config/jogl/gl-impl-CustomJavaCode-common.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-common.java b/make/config/jogl/gl-impl-CustomJavaCode-common.java index 0a8e90171..2c3227ee5 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-common.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-common.java @@ -48,10 +48,16 @@ private GLContextImpl _context; + /** + * @see javax.media.opengl.GLContext#setSwapInterval(int) + */ public void setSwapInterval(int interval) { _context.setSwapInterval(interval); } + /** + * @see javax.media.opengl.GLContext#getSwapInterval() + */ public int getSwapInterval() { return _context.getSwapInterval(); } |