summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerard Ziemski <[email protected]>2004-06-21 00:00:10 +0000
committerGerard Ziemski <[email protected]>2004-06-21 00:00:10 +0000
commitdb4a342a3b192f5fcf7dfc69d698e63c91a75441 (patch)
treeb3ed8a6b06c67f2d3a60688c004daf309dda67f4 /src
parent37a609451b055defbc964319d5eb6805d24483f1 (diff)
fix build breakage
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@135 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src')
-rw-r--r--src/net/java/games/jogl/impl/macosx/MacOSXDummyGLContext.java2
-rw-r--r--src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXDummyGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXDummyGLContext.java
index b39900342..9b8f02660 100644
--- a/src/net/java/games/jogl/impl/macosx/MacOSXDummyGLContext.java
+++ b/src/net/java/games/jogl/impl/macosx/MacOSXDummyGLContext.java
@@ -110,7 +110,7 @@ class MacOSXDummyGLContext extends MacOSXGLContext
throw new GLException("Should not call this");
}
- private void destroy() {
+ public void destroy() {
throw new GLException("Should not call this");
}
diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java
index 292a6bb9d..f8af120da 100644
--- a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java
+++ b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java
@@ -182,7 +182,7 @@ public abstract class MacOSXGLContext extends GLContext
protected void destroyImpl() throws GLException {
if (nsContext != 0) {
- if (!CGL.deleteContext(nsContext, null)) {
+ if (!CGL.deleteContext(nsContext, 0)) {
throw new GLException("Unable to delete OpenGL context");
}
if (DEBUG) {