aboutsummaryrefslogtreecommitdiffstats
path: root/make/cgl-macosx.cfg
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-04-24 00:10:41 +0000
committerKenneth Russel <[email protected]>2005-04-24 00:10:41 +0000
commitbafff33544dae0f28a0a7141d2a4ee05295ea2ec (patch)
tree52ab68a2f188a8f207474ab3c80d2abeaa125bb0 /make/cgl-macosx.cfg
parent95a1681443162db968c5430097780bfd0ade0a68 (diff)
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
Diffstat (limited to 'make/cgl-macosx.cfg')
-rw-r--r--make/cgl-macosx.cfg2
1 files changed, 2 insertions, 0 deletions
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