Multi-Monitor support
Posted: Fri Jun 17, 2016 10:23 am
Hello,
I'm wondering is there any way to check if a user has more than 1 monitor attached? And if so, to get the resolution of the first monitor? This is to avoid a null driver giving me the total monitor screen size, which then fails to initialize in fullscreen at first game run.
For example if someone has 2 monitors active, #1 1920x1080 and #2 1600x1200, I want to be able to query for 1920x1080, and avoid getting 3520 as resolution width, which then fails.
Hope someone can help, thank you in advance!
I'm wondering is there any way to check if a user has more than 1 monitor attached? And if so, to get the resolution of the first monitor? This is to avoid a null driver giving me the total monitor screen size, which then fails to initialize in fullscreen at first game run.
For example if someone has 2 monitors active, #1 1920x1080 and #2 1600x1200, I want to be able to query for 1920x1080, and avoid getting 3520 as resolution width, which then fails.
Hope someone can help, thank you in advance!