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 /make | |
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 'make')
-rw-r--r-- | make/cgl-macosx.cfg | 1 | ||||
-rw-r--r-- | make/stub_includes/macosx/window-system.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg index ac91c252c..447937f1c 100644 --- a/make/cgl-macosx.cfg +++ b/make/cgl-macosx.cfg @@ -17,6 +17,7 @@ CustomCCode #include </usr/include/machine/types.h> CustomCCode extern void* createContext(void* shareContext, void* nsView, CustomCCode int doubleBuffer, +CustomCCode int stereo, CustomCCode int redBits, CustomCCode int greenBits, CustomCCode int blueBits, diff --git a/make/stub_includes/macosx/window-system.c b/make/stub_includes/macosx/window-system.c index d15406263..5335e6c41 100644 --- a/make/stub_includes/macosx/window-system.c +++ b/make/stub_includes/macosx/window-system.c @@ -5,6 +5,7 @@ typedef int Bool; void* createContext(void* shareContext, void* nsView, int doubleBuffer, + int stereo, int redBits, int greenBits, int blueBits, |