From bafff33544dae0f28a0a7141d2a4ee05295ea2ec Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sun, 24 Apr 2005 00:10:41 +0000 Subject: Fixed Issue 92: Platform Independent VSync functionality Added GL.setSwapInterval() which delegates to appropriate platform-dependent routines. Must be called only from within GLEventListener callbacks. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@260 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/cgl-macosx.cfg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'make/cgl-macosx.cfg') diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg index c7a7f3841..dab1ec206 100644 --- a/make/cgl-macosx.cfg +++ b/make/cgl-macosx.cfg @@ -45,6 +45,8 @@ CustomCCode extern void setContextTextureImageToPBuffer(void* nsContext, void* p CustomCCode extern void* getProcAddress(const char *procName); +CustomCCode extern void setSwapInterval(void* nsContext, int interval); + # Implement the first argument to getProcAddress as String instead # of byte[] ArgumentIsString getProcAddress 0 -- cgit v1.2.3