ANDROID: Update screen rects on surface changes
Fixes regression introduced with 4267011e
This commit is contained in:
parent
ca1f9a075f
commit
57635fe75c
2 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue