This commit is contained in:
khanhduytran0 2020-10-28 12:33:19 +07:00
parent d4735aa6a8
commit 2e76d7d8ff

View File

@ -243,7 +243,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_glfw_GLFW_nglfwPollEvents(JNIEnv* env, jcl
}
for (int i = 0; i <= glfwInputEventIndex; i++) {
struct GLFWInputEvent curr = (struct GLFWInputEvent) glfwInputEventArr[i];
struct GLFWInputEvent curr = glfwInputEventArr[i];
((GLFW_invoke_callback*) curr.trigger)(curr);
// if (debugTimes < 1000) {