Get screen resolution
Get screen resolution
So, how do you get the screen resolution? I know this can be done somehow with windows API but that would make my project platform-dependent
-
- Posts: 1186
- Joined: Fri Dec 29, 2006 12:04 am
Re: Get screen resolution
Code: Select all
const irr::core::dimension2du& screenSize = driver->getScreenSize();
"Whoops..."
-
- Posts: 18
- Joined: Sat Oct 03, 2009 7:14 am
- Location: Brisbane, Australia
- Contact:
You might also want to check out this page on the Irrlicht wiki:
http://www.irrlicht3d.org/wiki/index.ph ... Resolution
http://www.irrlicht3d.org/wiki/index.ph ... Resolution
My website - Miscreant Software