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 --- make/cgl-macosx.cfg | 1 + make/stub_includes/macosx/window-system.c | 1 + 2 files changed, 2 insertions(+) (limited to 'make') 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 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, -- cgit v1.2.3