aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java
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/net/java/games/jogl/impl/macosx/MacOSXGLContext.java
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/net/java/games/jogl/impl/macosx/MacOSXGLContext.java')
-rw-r--r--src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java2
1 files changed, 1 insertions, 1 deletions
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) {