Here is my code:
public static Rectangle rect = new Rectangle(Mouse.getX(), Display.getHeight() - Mouse.getY() - 1, 1, 1);
public static void update(Input input) {
rect.setX(Mouse.getX());
rect.setY(Display.getHeight() - Mouse.getY() - 1);
}
It then says that the mouses x and y are about 500 pixels away on the X coord from the mouse cursor. Whats the whole reason for this?