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/stub_includes/macosx/window-system.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'make/stub_includes/macosx/window-system.c') diff --git a/make/stub_includes/macosx/window-system.c b/make/stub_includes/macosx/window-system.c index e5ba4307f..b30c252f3 100644 --- a/make/stub_includes/macosx/window-system.c +++ b/make/stub_includes/macosx/window-system.c @@ -32,3 +32,5 @@ void setContextPBuffer(void* nsContext, void* pBuffer); void setContextTextureImageToPBuffer(void* nsContext, void* pBuffer, int colorBuffer); void* getProcAddress(const char *procName); + +void setSwapInterval(void* nsContext, int interval); -- cgit v1.2.3