Skip to content

Commit

Permalink
Update Display.java
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell authored Nov 20, 2024
1 parent df5a4f8 commit 888c828
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
};

Expand Down

0 comments on commit 888c828

Please sign in to comment.