Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Full-screen resolutions higher than desktop resolution get cropped #1060
On Xubuntu 17.04, setting a full-screen mode 1920x1200 using GLFW while desktop resolution is lower than that results in only the top left portion of screen visible.
Reproducible with GLFW simple.c example application changed to use full-screen mode.
More details in forum discussion here:
changed the title
Full-screen resolutions higher than desktop resolution gets cropped on Linux
Aug 10, 2017
I noticed that High DPI scaling on Windows 10 causes GLFW full screen window mode get scaled and results in part of picture going outside screen. This might be what was happening with players reporting cropped/scaled screen on Windows in my game.
I can fix this by overriding scaling for the application in Windows compatibility options. GLFW should somehow tell Windows not to apply scaling to "windowed full screen" windows.
But this is probably completely unrelated to this issue.