'GLFW placed window on secondary monitor gets half framerate
I'm currently getting a strange behavior from my GLFW based application, running under 64bit Windows 10 Enterprise (8 core 16 threads, 32GB, RTX2080) w/two external 4K monitors.
The application is a plain vanilla glfw loop (with some imgui), except that I place the window with glfwSetWindowMonitor(...) during startup right after calling glfwCreateWindow(...). This somehow halves the framerate (a little below 30fps) when the window is placed on the two external monitors' area. If I move the window just one pixel the frame rate quickly doubles to the monitors' framerate (60fps).
Is this something others have seen? Can I somehow shake the app out of its slumber?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
