summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx/window-system.c
diff options
context:
space:
mode:
authorgregorypierce <[email protected]>2004-02-28 06:52:21 +0000
committergregorypierce <[email protected]>2004-02-28 06:52:21 +0000
commit6d31807a2a912b99a2c583a49a6d4d8af14be20e (patch)
tree02101a86c4f6a140a7bba87e271082aca0466232 /make/stub_includes/macosx/window-system.c
parent0b5992166cfaa63d1c1d1e7305df6f25f78d9fa1 (diff)
Updated for OSX to handle custom pixel formats
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@84 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/stub_includes/macosx/window-system.c')
-rw-r--r--make/stub_includes/macosx/window-system.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/stub_includes/macosx/window-system.c b/make/stub_includes/macosx/window-system.c
index da317e393..5b1381792 100644
--- a/make/stub_includes/macosx/window-system.c
+++ b/make/stub_includes/macosx/window-system.c
@@ -1,9 +1,10 @@
/* C routines encapsulating small amounts of Objective C code to allow
nsContext creation and manipulation to occur from Java */
+#include <jni.h>
typedef int Bool;
-void* createContext(void* shareContext, void* nsView);
+void* createContext(JNIEnv* env, jobject glCapabilities, void* shareContext, void* nsView);
Bool makeCurrentContext(void* nsContext, void* nsView);
Bool clearCurrentContext(void* nsContext, void* nsView);
Bool deleteContext(void* nsContext, void* nsView);