The auto-window-sizing thing only uses the primary monitor to set the resolution of the window, which has problems when, for example, I launch the program on the smaller secondary screen and it appears there but in a resolution too big for it.
To fix this, I think I need to use GLFW's monitor API to first discover which monitor the window is targeting, and then resize appropriately.
The auto-window-sizing thing only uses the primary monitor to set the resolution of the window, which has problems when, for example, I launch the program on the smaller secondary screen and it appears there but in a resolution too big for it.
To fix this, I think I need to use GLFW's monitor API to first discover which monitor the window is targeting, and then resize appropriately.