From 6d31807a2a912b99a2c583a49a6d4d8af14be20e Mon Sep 17 00:00:00 2001 From: gregorypierce Date: Sat, 28 Feb 2004 06:52:21 +0000 Subject: 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 --- make/stub_includes/macosx/window-system.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'make') 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 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); -- cgit v1.2.3