summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);