From 110fd4430ea619efbd708932c31429d56c0caa72 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Tue, 11 Jul 2006 21:26:58 +0000 Subject: Stubbed out setSwapInterval in MacOSXJava2DGLContext to fix crashes found by gziemski git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@840 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/opengl/impl/macosx/MacOSXJava2DGLContext.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/classes/com/sun/opengl/impl') diff --git a/src/classes/com/sun/opengl/impl/macosx/MacOSXJava2DGLContext.java b/src/classes/com/sun/opengl/impl/macosx/MacOSXJava2DGLContext.java index bea74cc8f..c9e4013c3 100644 --- a/src/classes/com/sun/opengl/impl/macosx/MacOSXJava2DGLContext.java +++ b/src/classes/com/sun/opengl/impl/macosx/MacOSXJava2DGLContext.java @@ -116,7 +116,8 @@ public class MacOSXJava2DGLContext extends MacOSXGLContext implements Java2DGLCo // GLContextShareSet.contextDestroyed(this); } } - - -} \ No newline at end of file + public void setSwapInterval(int interval) { + // Not supported in this context implementation + } +} -- cgit v1.2.3