aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-20 17:36:49 +0100
committerJohannes Schickel2012-02-20 18:39:57 +0100
commit624d5547dc691952b92f2317e252264dab7399d8 (patch)
tree60bd3b6cd8d91775c56dc673b78c3eb8c5c44102
parentd4c167414d13bab393f95ec430d717a0413a1b82 (diff)
downloadscummvm-rg350-624d5547dc691952b92f2317e252264dab7399d8.tar.gz
scummvm-rg350-624d5547dc691952b92f2317e252264dab7399d8.tar.bz2
scummvm-rg350-624d5547dc691952b92f2317e252264dab7399d8.zip
IPHONE: Don't overwrite orientation when the OpenGL ES context is created.
-rw-r--r--backends/platform/iphone/iphone_video.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/backends/platform/iphone/iphone_video.m b/backends/platform/iphone/iphone_video.m
index 977dcce4bd..c917dcccfb 100644
--- a/backends/platform/iphone/iphone_video.m
+++ b/backends/platform/iphone/iphone_video.m
@@ -494,7 +494,6 @@ static void setFilterModeForTexture(GLuint tex, GraphicsModes mode) {
//printf("Window: (%d, %d), Surface: (%d, %d), Texture(%d, %d)\n", _fullWidth, _fullHeight, _width, _height, _gameScreenTextureWidth, _gameScreenTextureHeight);
if (_context == nil) {
- _orientation = UIDeviceOrientationLandscapeRight;
CAEAGLLayer *eaglLayer = (CAEAGLLayer *)self.layer;
eaglLayer.opaque = YES;