Fixed nSetVSyncEnabled() signature
This commit is contained in:
parent
fe2b550f1a
commit
9b0e9b5ecf
|
@ -361,7 +361,7 @@ public final class Window {
|
|||
nSetVSyncEnabled(sync);
|
||||
}
|
||||
|
||||
private static native boolean nSetVSyncEnabled(boolean sync);
|
||||
private static native void nSetVSyncEnabled(boolean sync);
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue