diff options
author | Gerard Ziemski <[email protected]> | 2004-06-21 00:00:10 +0000 |
---|---|---|
committer | Gerard Ziemski <[email protected]> | 2004-06-21 00:00:10 +0000 |
commit | db4a342a3b192f5fcf7dfc69d698e63c91a75441 (patch) | |
tree | b3ed8a6b06c67f2d3a60688c004daf309dda67f4 | |
parent | 37a609451b055defbc964319d5eb6805d24483f1 (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
-rw-r--r-- | src/net/java/games/jogl/impl/macosx/MacOSXDummyGLContext.java | 2 | ||||
-rw-r--r-- | src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java | 2 |
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) { |