diff options
author | Kenneth Russel <[email protected]> | 2005-06-01 16:13:43 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-06-01 16:13:43 +0000 |
commit | 2c06e5f46292ee7e3e4824527e1fe6cf6708df7b (patch) | |
tree | 91378332a81fa07594cacba2793f7bc93985bd4b /src/net/java/games/jogl/impl/macosx | |
parent | d40e883325b81c5003e664611f72db4a6b8f6220 (diff) |
Cleaned up Mac OS X context handling. Removed incorrect retain call on
NSOpenGLContext. Removed NSOpenGLPFANoRecovery and
NSOpenGLPFAAccelerated flags from pixel format. Added
NSAutoreleasePools around Cocoa calls. Added stereo support.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@292 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/impl/macosx')
-rw-r--r-- | src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java index 6e474f2ce..e4fe8c4b7 100644 --- a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java +++ b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java @@ -134,6 +134,7 @@ public abstract class MacOSXGLContext extends GLContext nsContext = CGL.createContext(share, nsView, capabilities.getDoubleBuffered() ? 1 : 0, + capabilities.getStereo() ? 1 : 0, capabilities.getRedBits(), capabilities.getGreenBits(), capabilities.getBlueBits(), |