diff options
author | gregorypierce <[email protected]> | 2004-02-28 06:52:21 +0000 |
---|---|---|
committer | gregorypierce <[email protected]> | 2004-02-28 06:52:21 +0000 |
commit | 6d31807a2a912b99a2c583a49a6d4d8af14be20e (patch) | |
tree | 02101a86c4f6a140a7bba87e271082aca0466232 | |
parent | 0b5992166cfaa63d1c1d1e7305df6f25f78d9fa1 (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
-rw-r--r-- | make/stub_includes/macosx/window-system.c | 3 |
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); |