diff options
author | Johannes Schickel | 2012-02-20 17:36:49 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-20 18:39:57 +0100 |
commit | 624d5547dc691952b92f2317e252264dab7399d8 (patch) | |
tree | 60bd3b6cd8d91775c56dc673b78c3eb8c5c44102 /backends/platform/iphone/iphone_video.m | |
parent | d4c167414d13bab393f95ec430d717a0413a1b82 (diff) | |
download | scummvm-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.
Diffstat (limited to 'backends/platform/iphone/iphone_video.m')
-rw-r--r-- | backends/platform/iphone/iphone_video.m | 1 |
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; |