summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-05-10 17:47:31 +0000
committerKenneth Russel <[email protected]>2005-05-10 17:47:31 +0000
commit7da326380ca234d31627c5eaa8e7eacd3bfb8a4d (patch)
tree0a827c1e1384f9b36e01fb314d9ee182bcfa23a2 /make
parentff22a4f5a17eac8402706993dd54f75b6fae0110 (diff)
Fixed race conditions in Mac OS X onscreen context creation that
showed up after recent GLJPanel fix to clean up resource leaks. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@267 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r--make/cgl-macosx.cfg3
-rw-r--r--make/stub_includes/macosx/window-system.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg
index dab1ec206..e4fad5a5f 100644
--- a/make/cgl-macosx.cfg
+++ b/make/cgl-macosx.cfg
@@ -28,7 +28,8 @@ CustomCCode int accumGreenBits,
CustomCCode int accumBlueBits,
CustomCCode int accumAlphaBits,
CustomCCode int sampleBuffers,
-CustomCCode int numSamples);
+CustomCCode int numSamples,
+CustomCCode int* viewNotReady);
CustomCCode extern Bool makeCurrentContext(void* nsContext, void* nsView);
CustomCCode extern Bool clearCurrentContext(void* nsContext, void* nsView);
CustomCCode extern Bool deleteContext(void* nsContext, void* nsView);
diff --git a/make/stub_includes/macosx/window-system.c b/make/stub_includes/macosx/window-system.c
index b30c252f3..8ce6120a3 100644
--- a/make/stub_includes/macosx/window-system.c
+++ b/make/stub_includes/macosx/window-system.c
@@ -16,7 +16,8 @@ void* createContext(void* shareContext, void* nsView,
int accumBlueBits,
int accumAlphaBits,
int sampleBuffers,
- int numSamples);
+ int numSamples,
+ int* viewNotReady);
Bool makeCurrentContext(void* nsContext, void* nsView);
Bool clearCurrentContext(void* nsContext, void* nsView);
Bool deleteContext(void* nsContext, void* nsView);