diff --git a/modules/lwjgl/lwjglx/src/main/java/org/lwjgl/opengl/Display.java b/modules/lwjgl/lwjglx/src/main/java/org/lwjgl/opengl/Display.java index 36eefc73c3..122af2c8ca 100644 --- a/modules/lwjgl/lwjglx/src/main/java/org/lwjgl/opengl/Display.java +++ b/modules/lwjgl/lwjglx/src/main/java/org/lwjgl/opengl/Display.java @@ -305,7 +305,7 @@ public void invoke(long window, boolean entered) { Window.cursorPosCallback = new GLFWCursorPosCallback() { @Override public void invoke(long window, double xpos, double ypos) { - GLFWInputImplementation.singleton.putMouseEventWithCoords((byte)-1, (byte)0,(int)xpos,(int)((ypos - Display.getHeight())*-1),0,Sys.getNanoTime()); + GLFWInputImplementation.singleton.putMouseEventWithCoords((byte)-1, (byte)0,(int)xpos,(int)ypos,0,Sys.getNanoTime()); } };