diff options
author | Kenneth Russel <[email protected]> | 2005-07-08 18:49:58 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-07-08 18:49:58 +0000 |
commit | 6e8dd12319e2d6f702cf66728b177e6ea0152c2c (patch) | |
tree | b21ce1351614ed42c1c1b8986805ca7fc0817936 | |
parent | c6d6bcbcaceaa229944f380437a28af3a84f1dcd (diff) |
Fixed Mac OS X port after GlueGen changes to add array offsets
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@319 232f8b59-042b-4e1e-8c03-345bb8c30851
-rw-r--r-- | src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java | 2 | ||||
-rw-r--r-- | src/net/java/games/jogl/impl/macosx/MacOSXPbufferGLContext.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java index ec58de9a6..8cc33f8ff 100644 --- a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java +++ b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java @@ -149,7 +149,7 @@ public abstract class MacOSXGLContext extends GLContext capabilities.getNumSamples(), (pbuffer ? 1 : 0), (floatingPoint ? 1 : 0), - viewNotReady); + viewNotReady, 0); if (nsContext == 0) { if (viewNotReady[0] == 1) { if (DEBUG) { diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXPbufferGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXPbufferGLContext.java index 93bde269b..6c8004bee 100644 --- a/src/net/java/games/jogl/impl/macosx/MacOSXPbufferGLContext.java +++ b/src/net/java/games/jogl/impl/macosx/MacOSXPbufferGLContext.java @@ -129,7 +129,7 @@ public class MacOSXPbufferGLContext extends MacOSXGLContext { } textureTarget = (rect ? GL.GL_TEXTURE_RECTANGLE_EXT : GL.GL_TEXTURE_2D); int[] tmp = new int[1]; - gl.glGenTextures(1, tmp); + gl.glGenTextures(1, tmp, 0); texture = tmp[0]; gl.glBindTexture(textureTarget, texture); gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_MIN_FILTER, GL.GL_NEAREST); |