Multi-Monitor support

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
IrrDeveloper
Posts: 3
Joined: Fri Jun 17, 2016 10:17 am

Multi-Monitor support

Post 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!
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Multi-Monitor support

Post by hendu »

This is OS-specific, and irr has no code to do so ATM.
Post Reply