CLOSED [iOS] EAGL2Support::addConfig and orientation?
Posted: Sat Feb 22, 2014 5:21 pm
https://bitbucket.org/sinbad/ogre/src/4 ... ault#cl-52
The hard-coded values (which look dodgy anyway) and thereturned screenSize value are all portrait. If your app is running in landscape mode, you get logs like this:
Code: Select all
CGSize screenSize = [[UIScreen mainScreen] bounds].size;
optVideoMode.name = "Video Mode";
optVideoMode.possibleValues.push_back("320 x 480");
optVideoMode.possibleValues.push_back("320 x 568");
optVideoMode.possibleValues.push_back("768 x 1024");
optVideoMode.currentValue = StringConverter::toString(screenSize.width) + " x " +
StringConverter::toString(screenSize.height);
I can't tell if this is a problem or not...GLES2RenderSystem::_createRenderWindow "", 320x480 windowed miscParams: FSAA=0 Full Screen=No hidden=true title=C-Arm Trainer
iOS: Window created 320 x 480 with backing store size 480 x 320 using content scaling factor 1.0