diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/sdl/sdl-common.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index cd3b99430c..63e949fede 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -286,6 +286,9 @@ void OSystem_SDL_Common::add_dirty_rect(int x, int y, int w, int h) { if (h > _screenHeight - y) { h = _screenHeight - y; } + + if (_adjustAspectRatio) + makeRectStretchable(x, y, w, h); r->x = x; r->y = y; |