diff options
author | Johannes Schickel | 2012-02-21 18:51:16 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-21 18:54:26 +0100 |
commit | 80b34398174973b6d70673fce94a8a1f670c3f4d (patch) | |
tree | f8e88854cb7e89c2bba5581bc470465417310332 /backends/platform/iphone/iphone_video.h | |
parent | f6edcbde8ee3a052f2896c875f853526df0596b0 (diff) | |
download | scummvm-rg350-80b34398174973b6d70673fce94a8a1f670c3f4d.tar.gz scummvm-rg350-80b34398174973b6d70673fce94a8a1f670c3f4d.tar.bz2 scummvm-rg350-80b34398174973b6d70673fce94a8a1f670c3f4d.zip |
IPHONE: Rewrite video screen rotation.
Now it should be a little bit more sane. Formerly the width and height
was swapped in rotation mode, which resulted in the x coordinate falling
into the range 0..height in landscape mode for example.
This also fixes the cursor offset in the modern theme.
Diffstat (limited to 'backends/platform/iphone/iphone_video.h')
-rw-r--r-- | backends/platform/iphone/iphone_video.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/backends/platform/iphone/iphone_video.h b/backends/platform/iphone/iphone_video.h index 02b9c8692d..f2253f3e21 100644 --- a/backends/platform/iphone/iphone_video.h +++ b/backends/platform/iphone/iphone_video.h @@ -38,16 +38,9 @@ NSMutableArray *_events; SoftKeyboard *_keyboardView; - int _widthOffset; - int _heightOffset; - EAGLContext *_context; GLuint _viewRenderbuffer; GLuint _viewFramebuffer; - GLint _renderBufferWidth; - GLint _renderBufferHeight; - GLint _visibleWidth; - GLint _visibleHeight; GLuint _screenTexture; GLuint _overlayTexture; GLuint _mouseCursorTexture; |