summaryrefslogtreecommitdiffstats
path: root/src/net/java/games
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-06-01 16:13:43 +0000
committerKenneth Russel <[email protected]>2005-06-01 16:13:43 +0000
commit2c06e5f46292ee7e3e4824527e1fe6cf6708df7b (patch)
tree91378332a81fa07594cacba2793f7bc93985bd4b /src/net/java/games
parentd40e883325b81c5003e664611f72db4a6b8f6220 (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')
-rw-r--r--src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java1
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(),