From 7d552f2b56ec4b4c76e81dcf6f5f1758c8de75f2 Mon Sep 17 00:00:00 2001 From: gregorypierce Date: Sat, 28 Feb 2004 06:53:32 +0000 Subject: Update for custom pixel formats in OSX Issue number: Obtained from: Submitted by: Gregory Pierce Reviewed by: git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@85 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/build.xml | 14 +++++++------- make/cgl-macosx.cfg | 2 +- make/glu-impl-macosx.cfg | 1 + 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/make/build.xml b/make/build.xml index 3d2fc663f..dcba318f7 100644 --- a/make/build.xml +++ b/make/build.xml @@ -418,14 +418,14 @@ - - - - + + + + - - + + @@ -433,7 +433,7 @@ - + diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg index 5f32db492..6592f98dd 100644 --- a/make/cgl-macosx.cfg +++ b/make/cgl-macosx.cfg @@ -13,7 +13,7 @@ Opaque long void * # this was the easiest way of sharing the prototypes between these files CustomCCode typedef int Bool; -CustomCCode extern void* createContext(void* shareContext, void* nsView); +CustomCCode extern void* createContext(JNIEnv * env, jobject glCapabilities, void* shareContext, void* nsView); 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/glu-impl-macosx.cfg b/make/glu-impl-macosx.cfg index 5e856c7ec..6dac11f54 100644 --- a/make/glu-impl-macosx.cfg +++ b/make/glu-impl-macosx.cfg @@ -4,3 +4,4 @@ Include glu-impl-common.cfg CustomCCode #include +CustomCCode #include -- cgit v1.2.3