mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 23:00:45 -04:00
Get direct input back to 1.12.2 and below
This commit is contained in:
parent
add4bc80b2
commit
fc3a11219b
@ -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) {
|
JNIEXPORT void JNICALL Java_org_lwjgl_glfw_CallbackBridge_nativeAttachThreadToOther(JNIEnv* env, jclass clazz, jboolean isAndroid, jboolean isUseStackQueue) {
|
||||||
glfwInputEventIndex = -1;
|
glfwInputEventIndex = -1;
|
||||||
isUseStackQueueCall = 1;
|
// isUseStackQueueCall = 1;
|
||||||
// isUseStackQueueCall = (int) isUseStackQueue;
|
isUseStackQueueCall = (int) isUseStackQueue;
|
||||||
if (isUseStackQueue) {
|
if (isUseStackQueue) {
|
||||||
isPrepareGrabPos = true;
|
isPrepareGrabPos = true;
|
||||||
} else if (isAndroid) {
|
} else if (isAndroid) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user