When I start my app up with an ogre.cfg containing
Code: Select all
Full Screen=Yes
Video Mode=1280 x 720
my RenderWindow and Viewport have width/height of 1920x1200 and if I switch fullscreen mode off on my RenderWindow they remain the same size (I just get a title bar).
If I start my app with the following ogre.cfg
Code: Select all
Full Screen=No
Video Mode=1280 x 720
my RenderWindow and Viewport have width/height of 1280x720 and if I turn ON fullscreen then the RenderWindow and Viewport change to 1920x1200 but when I turn fullscreen back off the RenderWindow returns to 1280x720
So, what I expect to happen is if I start my app in Fullscreen mode and then turn off Fullscreen mode I would expect it to become a 1280x720 window, but it doesn't. Any ideas what's going on here?