From 3b542cea53b94bc10592a618f60c4f813e518b60 Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 21 Oct 2018 18:35:40 +0100 Subject: SURFACESDL: Respect filtering setting when performing aspect ratio correction --- backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/graphics/linuxmotosdl') 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); -- cgit v1.2.3