From f0f696c4253691503a0d66636ea779e0731bda84 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 10 Mar 2012 04:51:28 +0100 Subject: GL/GLContext: Properly define swapInterval incl. default value for EGL (1) and desktop (undefined). *GLContext.setSwapIntervalImpl: Simple return success, set state in GLContext. --- make/config/jogl/gl-impl-CustomJavaCode-common.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'make/config/jogl') 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(); } -- cgit v1.2.3