diff options
| author | dhewg | 2011-03-14 17:24:12 +0100 |
|---|---|---|
| committer | dhewg | 2011-03-14 19:35:35 +0100 |
| commit | 57635fe75cdf01a654d760efa0528a2aa186a391 (patch) | |
| tree | 1fea2587098ea5b8ecdf455f57c70580e353a53c /backends/platform/android/gfx.cpp | |
| parent | ca1f9a075f7914ae3ceb83b9a01b5b7a193041e9 (diff) | |
| download | scummvm-rg350-57635fe75cdf01a654d760efa0528a2aa186a391.tar.gz scummvm-rg350-57635fe75cdf01a654d760efa0528a2aa186a391.tar.bz2 scummvm-rg350-57635fe75cdf01a654d760efa0528a2aa186a391.zip | |
ANDROID: Update screen rects on surface changes
Fixes regression introduced with 4267011e
Diffstat (limited to 'backends/platform/android/gfx.cpp')
| -rw-r--r-- | backends/platform/android/gfx.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp index dc8acaca29..83ee8ba0f0 100644 --- a/backends/platform/android/gfx.cpp +++ b/backends/platform/android/gfx.cpp @@ -296,7 +296,9 @@ void OSystem_Android::updateScreenRect() { Common::Rect rect(0, 0, _egl_surface_width, _egl_surface_height); - if (!_fullscreen) { + _overlay_texture->setDrawRect(rect); + + if (w && h && !_fullscreen) { if (_ar_correction && w == 320 && h == 200) h = 240; |
