Get direct input back to 1.12.2 and below

This commit is contained in:
khanhduytran0 2020-10-27 18:28:47 +07:00
parent add4bc80b2
commit fc3a11219b

View File

@ -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) {