aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/linuxmotosdl
diff options
context:
space:
mode:
authorThierry Crozat2018-10-21 18:35:40 +0100
committerThierry Crozat2018-10-24 23:34:41 +0200
commit3b542cea53b94bc10592a618f60c4f813e518b60 (patch)
tree1a425d7228c2140611b720e89ff7ba26c6fbbbed /backends/graphics/linuxmotosdl
parent2aa7f71fc0be2d1776213fda79ea850c6547bbe5 (diff)
downloadscummvm-rg350-3b542cea53b94bc10592a618f60c4f813e518b60.tar.gz
scummvm-rg350-3b542cea53b94bc10592a618f60c4f813e518b60.tar.bz2
scummvm-rg350-3b542cea53b94bc10592a618f60c4f813e518b60.zip
SURFACESDL: Respect filtering setting when performing aspect ratio correction
Diffstat (limited to 'backends/graphics/linuxmotosdl')
-rw-r--r--backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp
index 57b7f8136b..bb78435797 100644
--- a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp
+++ b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp
@@ -406,7 +406,7 @@ void LinuxmotoSdlGraphicsManager::internUpdateScreen() {
#ifdef USE_SCALERS
if (_videoMode.aspectRatioCorrection && orig_dst_y < height && !_overlayVisible)
- r->h = stretch200To240((uint8 *) _hwscreen->pixels, dstPitch, r->w, r->h, r->x, r->y, orig_dst_y * scale1);
+ r->h = stretch200To240((uint8 *) _hwscreen->pixels, dstPitch, r->w, r->h, r->x, r->y, orig_dst_y * scale1, _videoMode.filtering);
#endif
}
SDL_UnlockSurface(srcSurf);