aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/macosx
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-07-11 21:26:58 +0000
committerKenneth Russel <[email protected]>2006-07-11 21:26:58 +0000
commit110fd4430ea619efbd708932c31429d56c0caa72 (patch)
tree9b0cc3deeacf22bb1931ff4079914fc80fb0e0df /src/classes/com/sun/opengl/impl/macosx
parent8b0d5b54d929a5b71fd14ec7fe86f86f2126aa0d (diff)
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
Diffstat (limited to 'src/classes/com/sun/opengl/impl/macosx')
-rw-r--r--src/classes/com/sun/opengl/impl/macosx/MacOSXJava2DGLContext.java7
1 files changed, 4 insertions, 3 deletions
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
+ }
+}