aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-20 21:17:19 +0100
committerJohannes Schickel2012-02-20 21:17:19 +0100
commit6cc5b83bba51a4d048c09dc35c0d4ed78e07f7ad (patch)
tree6c787a24a255d0991ba25a8f14699974804f1bc2
parentd8531a939e75bebe20590806b65d594b6e214203 (diff)
downloadscummvm-rg350-6cc5b83bba51a4d048c09dc35c0d4ed78e07f7ad.tar.gz
scummvm-rg350-6cc5b83bba51a4d048c09dc35c0d4ed78e07f7ad.tar.bz2
scummvm-rg350-6cc5b83bba51a4d048c09dc35c0d4ed78e07f7ad.zip
IPHONE: Default to portrait mode in case the orientation could not be determined.
-rw-r--r--backends/platform/iphone/iphone_video.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/iphone/iphone_video.m b/backends/platform/iphone/iphone_video.m
index b0b9da8885..d5002ff3d2 100644
--- a/backends/platform/iphone/iphone_video.m
+++ b/backends/platform/iphone/iphone_video.m
@@ -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);