From 2c06e5f46292ee7e3e4824527e1fe6cf6708df7b Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 1 Jun 2005 16:13:43 +0000 Subject: 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 --- src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net/java/games/jogl/impl/macosx') 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(), -- cgit v1.2.3