IPHONE: Default to portrait mode in case the orientation could not be determined.

This commit is contained in:
Johannes Schickel 2012-02-20 21:17:19 +01:00
parent d8531a939e
commit 6cc5b83bba

View File

@ -541,7 +541,7 @@ static void setFilterModeForTexture(GLuint tex, GraphicsModes mode) {
break;
default:
_orientation = UIDeviceOrientationLandscapeRight;
_orientation = UIDeviceOrientationPortrait;
}
//printf("Window: (%d, %d), Surface: (%d, %d), Texture(%d, %d)\n", _fullWidth, _fullHeight, _width, _height, _gameScreenTextureWidth, _gameScreenTextureHeight);