This commit is contained in:
khanhduytran0 committed 2020-10-28 12:33:19 +07:00
1 parent d4735aa6a8
commit 2e76d7d8ff
1 file changed
+1 -1
+1 -1
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) {