ANDROID: Update screen rects on surface changes

Fixes regression introduced with 4267011e
This commit is contained in:
dhewg 2011-03-14 17:24:12 +01:00
parent ca1f9a075f
commit 57635fe75c
2 changed files with 7 additions and 1 deletions

View file

@ -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;