mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
Debug
This commit is contained in:
parent
efe04ce8d3
commit
615dd370a1
@ -163,6 +163,7 @@ int diffX, diffY, logTimes;
|
||||
JNIEXPORT void JNICALL Java_org_lwjgl_glfw_GLFW_nglfwPollEvents(JNIEnv* env, jclass clazz) {
|
||||
if (!isInputReady) isInputReady = true;
|
||||
if (isUsePushPollCall) {
|
||||
LOGI("Mouse pos curr! x=%d, y=%d; Input length=%d", lastCursorX, lastCursorY, glfwInputEventIndex);
|
||||
if (diffX != lastCursorX || diffY != lastCursorY) {
|
||||
if (logTimes < 1000) {
|
||||
logTimes++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user