How do I get the screen resolution?
Dennis
dkorpel at gmail.com
Thu Apr 28 11:38:49 UTC 2022
On Thursday, 28 April 2022 at 11:22:15 UTC, Alexander Zhirov
wrote:
> Are there any methods to get the screen resolution?
Example with GLFW:
https://github.com/dkorpel/glfw-d/blob/7a1eec60d427617c098d0e54a26cba796956a976/examples/empty-window/app.d#L118
Note that there can be multiple monitors, but you can use
`glfwGetPrimaryMonitor()` to find the main one.
More information about the Digitalmars-d-learn
mailing list