mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 15:48:26 -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) {
|
JNIEXPORT void JNICALL Java_org_lwjgl_glfw_GLFW_nglfwPollEvents(JNIEnv* env, jclass clazz) {
|
||||||
if (!isInputReady) isInputReady = true;
|
if (!isInputReady) isInputReady = true;
|
||||||
if (isUsePushPollCall) {
|
if (isUsePushPollCall) {
|
||||||
|
LOGI("Mouse pos curr! x=%d, y=%d; Input length=%d", lastCursorX, lastCursorY, glfwInputEventIndex);
|
||||||
if (diffX != lastCursorX || diffY != lastCursorY) {
|
if (diffX != lastCursorX || diffY != lastCursorY) {
|
||||||
if (logTimes < 1000) {
|
if (logTimes < 1000) {
|
||||||
logTimes++;
|
logTimes++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user