diff options
author | Oystein Eftevaag | 2010-09-29 00:19:13 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2010-09-29 00:19:13 +0000 |
commit | ab01f42a4bf33192c43bdae49ddfa9040d013c68 (patch) | |
tree | adf5a27e2824e3448ee7409491e6f8cada699f1c /backends/platform/iphone/osys_main.h | |
parent | a0c0b934c75bc93f467b9b30f765e31aaf1a1536 (diff) | |
download | scummvm-rg350-ab01f42a4bf33192c43bdae49ddfa9040d013c68.tar.gz scummvm-rg350-ab01f42a4bf33192c43bdae49ddfa9040d013c68.tar.bz2 scummvm-rg350-ab01f42a4bf33192c43bdae49ddfa9040d013c68.zip |
IPHONE: The overlay will now always be in the native device resolution
svn-id: r52939
Diffstat (limited to 'backends/platform/iphone/osys_main.h')
-rw-r--r-- | backends/platform/iphone/osys_main.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/platform/iphone/osys_main.h b/backends/platform/iphone/osys_main.h index 3c80c83998..c925078b46 100644 --- a/backends/platform/iphone/osys_main.h +++ b/backends/platform/iphone/osys_main.h @@ -66,6 +66,9 @@ protected: Graphics::Surface _framebuffer; byte *_offscreen; OverlayColor *_overlayBuffer; + uint16 _overlayHeight; + uint16 _overlayWidth; + uint16 *_fullscreen; uint16 _palette[256]; @@ -144,7 +147,7 @@ public: virtual void copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h); virtual int16 getOverlayHeight(); virtual int16 getOverlayWidth(); - virtual Graphics::PixelFormat getOverlayFormat() const { return Graphics::createPixelFormat<565>(); } + virtual Graphics::PixelFormat getOverlayFormat() const { return Graphics::createPixelFormat<5551>(); } virtual bool showMouse(bool visible); |