diff options
author | Kenneth Russel <[email protected]> | 2004-04-29 21:50:38 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2004-04-29 21:50:38 +0000 |
commit | be5d9ba85bad4cf845778d1bdcc4361d864a4604 (patch) | |
tree | bc0d0083211eff4c12a745eb48ec7efc8d31020f /src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java | |
parent | 595577662881914de98204d0ef43e329e365d021 (diff) |
Fixed Issue 79: PBuffers on macintosh fail to glCopyTexSubImage2D
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@128 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java')
-rw-r--r-- | src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java index cb75fe166..e957092ee 100644 --- a/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java +++ b/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java @@ -107,6 +107,7 @@ public class MacOSXOnscreenGLContext extends MacOSXGLContext { public synchronized GLContext createPbufferContext(GLCapabilities capabilities, int initialWidth, int initialHeight) { MacOSXPbufferGLContext ctx = new MacOSXPbufferGLContext(capabilities, initialWidth, initialHeight); + GLContextShareSet.registerSharing(this, ctx); pbuffersToInstantiate.add(ctx); return ctx; } |