diff options
| author | Thierry Crozat | 2018-10-21 18:35:40 +0100 |
|---|---|---|
| committer | Thierry Crozat | 2018-10-24 23:34:41 +0200 |
| commit | 3b542cea53b94bc10592a618f60c4f813e518b60 (patch) | |
| tree | 1a425d7228c2140611b720e89ff7ba26c6fbbbed /backends/graphics/gph | |
| parent | 2aa7f71fc0be2d1776213fda79ea850c6547bbe5 (diff) | |
| download | scummvm-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/gph')
| -rw-r--r-- | backends/graphics/gph/gph-graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/gph/gph-graphics.cpp b/backends/graphics/gph/gph-graphics.cpp index 910dab9140..5ec36c25c6 100644 --- a/backends/graphics/gph/gph-graphics.cpp +++ b/backends/graphics/gph/gph-graphics.cpp @@ -395,7 +395,7 @@ void GPHGraphicsManager::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); |
