|
From: Elias N. <eli...@us...> - 2005-01-06 14:03:57
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9406/src/native/linux Modified Files: org_lwjgl_input_Mouse.c org_lwjgl_opengl_Display.c Log Message: Linux: Moved trivial methods from native to java Index: org_lwjgl_opengl_Display.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Display.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- org_lwjgl_opengl_Display.c 12 Dec 2004 19:02:43 -0000 1.17 +++ org_lwjgl_opengl_Display.c 6 Jan 2005 14:03:48 -0000 1.18 @@ -115,7 +115,7 @@ if (env != NULL) throwException(env, error_message); else - printfDebugJava(env, error_message); + printfDebug(error_message); return false; } else return true; @@ -691,14 +691,6 @@ return initDisplay(env, getCurrentScreen()); } -JNIEXPORT jstring JNICALL Java_org_lwjgl_opengl_LinuxDisplay_getAdapter(JNIEnv *env , jobject this) { - return NULL; -} - -JNIEXPORT jstring JNICALL Java_org_lwjgl_opengl_LinuxDisplay_getVersion(JNIEnv *env, jobject this) { - return NULL; -} - JNIEXPORT void JNICALL Java_org_lwjgl_opengl_LinuxDisplay_createContext(JNIEnv *env, jobject this, jobject pixel_format) { Display *disp = incDisplay(env); if (disp == NULL) { Index: org_lwjgl_input_Mouse.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_input_Mouse.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- org_lwjgl_input_Mouse.c 11 Dec 2004 20:18:18 -0000 1.28 +++ org_lwjgl_input_Mouse.c 6 Jan 2005 14:03:48 -0000 1.29 @@ -236,10 +236,6 @@ return width_return > height_return ? height_return : width_return; } -JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_LinuxDisplay_hasWheel(JNIEnv *env , jobject this) { - return JNI_TRUE; -} - JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_LinuxDisplay_getButtonCount(JNIEnv *env, jobject this) { return NUM_BUTTONS; } |