From fc3a11219b75b032402892c528de247d9954c1be Mon Sep 17 00:00:00 2001 From: khanhduytran0 Date: Tue, 27 Oct 2020 18:28:47 +0700 Subject: [PATCH] Get direct input back to 1.12.2 and below --- app/src/main/jni/input_bridge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/jni/input_bridge.c b/app/src/main/jni/input_bridge.c index 17442d987..23528690c 100644 --- a/app/src/main/jni/input_bridge.c +++ b/app/src/main/jni/input_bridge.c @@ -141,8 +141,8 @@ void addInputToQueue(GLFWInputEvent event) { */ JNIEXPORT void JNICALL Java_org_lwjgl_glfw_CallbackBridge_nativeAttachThreadToOther(JNIEnv* env, jclass clazz, jboolean isAndroid, jboolean isUseStackQueue) { glfwInputEventIndex = -1; - isUseStackQueueCall = 1; - // isUseStackQueueCall = (int) isUseStackQueue; + // isUseStackQueueCall = 1; + isUseStackQueueCall = (int) isUseStackQueue; if (isUseStackQueue) { isPrepareGrabPos = true; } else if (isAndroid) {