Hi guys,
Ok ive been doing irrlicht for not long now so bare with me please OK i know this is probably a very simple thing but i cant find out how anywhere. How can i make my program run in full screen mode? I.e the complete width of the screen i mean not in "the full screen mode" boolean that is in the createdevice thingy. I mean is there a function to return the width and height of the screen. i've searched around and i've found a few "getDesktopResolution()" and "getScreenSize" but i can't get this to work with the creatdevice bit of code or am i doomed to typing in a width and height of the window forver....
Thanks in advance -BEN
FullScreen Mode
You're right with the getDesktopResolution() etc. What you have to do is create a device initially with the Null driver, it's one of the possible drivers you can choose, like OpenGL or DX8/9, then you store the desktop resolution, drop the device and create a new one with a non-null driver and pass it the desktop resolution you found
-
- Posts: 18
- Joined: Fri Nov 03, 2006 10:42 pm
-
- Posts: 18
- Joined: Fri Nov 03, 2006 10:42 pm
-
- Posts: 18
- Joined: Fri Nov 03, 2006 10:42 pm
-
- Posts: 18
- Joined: Fri Nov 03, 2006 10:42 pm