diff options
author | dhewg | 2011-03-03 19:11:42 +0100 |
---|---|---|
committer | dhewg | 2011-03-03 21:29:15 +0100 |
commit | 7157454e9b30db91462cb684dd20a61204a7fa43 (patch) | |
tree | d872ddaa151171d3262b9f51c80bb27fdb46dfd0 /backends/platform/android/android.h | |
parent | 3df060b6567d37a1a3bee314a686bb2435e482f6 (diff) | |
download | scummvm-rg350-7157454e9b30db91462cb684dd20a61204a7fa43.tar.gz scummvm-rg350-7157454e9b30db91462cb684dd20a61204a7fa43.tar.bz2 scummvm-rg350-7157454e9b30db91462cb684dd20a61204a7fa43.zip |
ANDROID: Implement surface resizes
Split surface code into helper functions to avoid code duplication, and
distinguish between screen resizes and surface recreation. The former
happens when toggling the softkeyb, where we just have to reset the
viewport. Fixes garbled textures in those cases.
Diffstat (limited to 'backends/platform/android/android.h')
-rw-r--r-- | backends/platform/android/android.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/platform/android/android.h b/backends/platform/android/android.h index 5db10fb180..bf72f98b01 100644 --- a/backends/platform/android/android.h +++ b/backends/platform/android/android.h @@ -140,7 +140,10 @@ private: FilesystemFactory *_fsFactory; timeval _startTime; - void setupSurface(); + void initSurface(); + void deinitSurface(); + void initViewport(); + void setupKeymapper(); void _setCursorPalette(const byte *colors, uint start, uint num); |