aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/OpenGL_X11.c
diff options
context:
space:
mode:
Diffstat (limited to 'CNativeCode/OpenGL_X11.c')
-rw-r--r--CNativeCode/OpenGL_X11.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/CNativeCode/OpenGL_X11.c b/CNativeCode/OpenGL_X11.c
index f7e0795..6d0dec5 100644
--- a/CNativeCode/OpenGL_X11.c
+++ b/CNativeCode/OpenGL_X11.c
@@ -84,11 +84,20 @@
static jboolean verbose = JNI_FALSE;
+JNIEXPORT jboolean JNICALL Java_gl4java_GLContext_loadJAWT0
+(JNIEnv *env, jclass unused, jstring str)
+{
+ (void)env;
+ (void)unused;
+ (void)str;
+ return JNI_FALSE;
+}
+
JNIEXPORT jboolean JNICALL
-Java_gl4java_GLContext_useJAWT( JNIEnv *env, jobject obj )
+Java_gl4java_GLContext_useJAWT( JNIEnv *env, jclass unused )
{
(void)env;
- (void)obj;
+ (void)unused;
return JNI_FALSE;
}