mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-11 09:00:15 -07:00
Revert
This commit is contained in:
parent
37141124c6
commit
137abe65bf
1 changed files with 0 additions and 2 deletions
|
|
@ -150,7 +150,6 @@ void handleFramebufferSizeJava(long window, int w, int h) {
|
|||
void pojavPumpEvents(void* window) {
|
||||
//__android_log_print(ANDROID_LOG_INFO, "input_bridge_v3", "pojavPumpEvents %d", eventCounter);
|
||||
size_t counter = atomic_load_explicit(&eventCounter, memory_order_acquire);
|
||||
__android_log_print(ANDROID_LOG_INFO, "NativeInput", "Pumping %i events (window=%p)", counter, window);
|
||||
for(size_t i = 0; i < counter; i++) {
|
||||
GLFWInputEvent event = events[i];
|
||||
switch(event.type) {
|
||||
|
|
@ -217,7 +216,6 @@ Java_org_lwjgl_glfw_GLFW_glfwSetCursorPos(JNIEnv *env, jclass clazz, jlong windo
|
|||
|
||||
|
||||
void sendData(int type, int i1, int i2, int i3, int i4) {
|
||||
__android_log_print(ANDROID_LOG_INFO, "NativeInput", "Submitting event %d (%d %d %d %d)", type, i1, i2, i3, i4);
|
||||
if(type == EVENT_TYPE_CURSOR_POS) {
|
||||
cursorX = i1;
|
||||
cursorY = i2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue