if you create a window of 100x100 and have a display that reports DPI scaling. GlfwMouseInput. private void onCursorPos(final long window, final double xpos, final double ypos)
this method is multiplying the mouse coord by the monitor scaling even when not being used. It causes anything based on mouse coords to fail. Specially GUI, mouse clicks on buttons and such are off by 2.5 times.
if you create a window of 100x100 and have a display that reports DPI scaling. GlfwMouseInput. private void onCursorPos(final long window, final double xpos, final double ypos)
this method is multiplying the mouse coord by the monitor scaling even when not being used. It causes anything based on mouse coords to fail. Specially GUI, mouse clicks on buttons and such are off by 2.5 times.