From db4a342a3b192f5fcf7dfc69d698e63c91a75441 Mon Sep 17 00:00:00 2001
From: Gerard Ziemski <gerard.ziemski@sun.com>
Date: Mon, 21 Jun 2004 00:00:10 +0000
Subject: 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
---
 src/net/java/games/jogl/impl/macosx/MacOSXDummyGLContext.java | 2 +-
 src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/net/java/games/jogl/impl/macosx')

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) {
-- 
cgit v1.2.3