Page 1 of 1

Multi-Monitor support

Posted: Fri Jun 17, 2016 10:23 am
by IrrDeveloper
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!

Re: Multi-Monitor support

Posted: Fri Jun 17, 2016 4:15 pm
by hendu
This is OS-specific, and irr has no code to do so ATM.