Fixed nSetVSyncEnabled() signature

This commit is contained in:
Elias Naur 2003-11-25 22:34:04 +00:00
parent fe2b550f1a
commit 9b0e9b5ecf
2 changed files with 3 additions and 3 deletions

View File

@ -361,7 +361,7 @@ public final class Window {
nSetVSyncEnabled(sync);
}
private static native boolean nSetVSyncEnabled(boolean sync);
private static native void nSetVSyncEnabled(boolean sync);
}

View File

@ -122,9 +122,9 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsVSyncEnabled
/*
* Class: org_lwjgl_opengl_Window
* Method: nSetVSyncEnabled
* Signature: (Z)Z
* Signature: (Z)V
*/
JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nSetVSyncEnabled
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nSetVSyncEnabled
(JNIEnv *, jclass, jboolean);
#ifdef __cplusplus